TimeRestriction class

Represents restriction based on time.

Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.

Constructors

TimeRestriction()

Properties

applicability ↔ List<TransportType>
Specifies to which transportation types the time rules apply.
getter/setter pair
category TimeRestrictionCategory
The category of the time restriction.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeRule TimeRule?
Time rule in TimeDomain format, which is part of the GDF specification.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.