AllowedTransportModes class

Specifies which transport modes are allowed in a particular direction.

Note: This struct specifies a general restriction to that transport mode, but additional restriction are possible.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

AllowedTransportModes()

Properties

bicycleAllowed ↔ bool
True if bicycles can access the segment in the given direction
getter/setter pair
busAllowed ↔ bool
True if buses can access the segment in the given direction
getter/setter pair
carAllowed ↔ bool
True if cars can access the segment in the given direction
getter/setter pair
hashCode → int
The hash code for this object.
no setter
pedestrianAllowed ↔ bool
True if pedestrians can access the segment in the given direction
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scooterAllowed ↔ bool
True if scooters can access the segment in the given direction
getter/setter pair
taxiAllowed ↔ bool
True if taxis can access the segment in the given direction
getter/setter pair
truckAllowed ↔ bool
True if trucks can access the segment in the given direction
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.