TollStructure class
A class that defines tolling configuration for a lane.
It describes which types of toll structures apply and the acceptable payment methods. This information can be used to guide drivers through toll roads based on their preferences or vehicle capabilities.
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
-
TollStructure(List<
TollStructureType> structureTypes, List<PaymentMethod> paymentMethods) - Creates a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setter
-
paymentMethods
↔ List<
PaymentMethod> -
Contains available payment methods
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
structureTypes
↔ List<
TollStructureType> -
Contains available types of toll structures
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.