Toll class

Un peaje de la ruta.

Google no da esto. Es una de las cosas que solo existen aquí, y para una app de reparto cambia el cálculo del coste por viaje.

Annotations
  • @immutable

Constructors

Toll({String? systemRef, String? country, List<String> paymentMethods = const <String>[], String? currency, double? amount, List<String> transponders = const <String>[]})
Crea el peaje.
const
Toll.fromJson(Map<String, dynamic> json)
Lee el peaje de la respuesta del servicio.
factory

Properties

amount → double?
Cuánto cuesta.
final
country → String?
El país en el que se cobra.
final
currency → String?
La moneda del importe, en ISO 4217.
final
hashCode → int
The hash code for this object.
no setterinherited
paymentMethods → List<String>
Cómo se puede pagar: Cash, CreditCard, Transponder…
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemRef → String?
La referencia del sistema de peaje.
final
transponders → List<String>
Los transpondedores aceptados, si los hay.
final

Methods

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

Operators

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