IsolineResponse class

La respuesta de calculateIsolines.

Annotations
  • @immutable

Constructors

IsolineResponse({required List<Isoline> isolines, LatLng? snappedOrigin, LatLng? snappedDestination, DateTime? departureTime, DateTime? arrivalTime, String? pricingBucket})
Crea la respuesta.
const
IsolineResponse.fromJson(Map<String, dynamic> json)
Lee la respuesta del servicio.
factory

Properties

arrivalTime DateTime?
La hora de llegada usada, en el modo inverso.
final
departureTime DateTime?
La hora de salida usada en el cálculo.
final
hashCode int
The hash code for this object.
no setterinherited
isolines List<Isoline>
Las isócronas, una por umbral pedido.
final
pricingBucket String?
El tramo de precio que aplicó AWS.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snappedDestination LatLng?
El destino pegado a la carretera, en el modo de llegada.
final
snappedOrigin LatLng?
El origen pegado a la carretera más cercana.
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