Fare class
Contains the total fare (that is, the total ticket costs) on this route. This property is only returned for transit requests and only for routes where fare information is available for all transit legs. The information includes:
currency
: An ISO 4217 currency code indicating the currency that the amount is expressed in.value
: The total fare amount, in the currency specified above.text
: The total fare amount, formatted in the requested language.
Constructors
Properties
- currency → String?
-
An
iso4217
indicating the currency that the amount is expressed in.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The total fare amount, formatted in the requested language.
final
- value → num?
-
The total fare amount, in the currency specified above.
final
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.
inherited