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