Route class
- Implementers
Constructors
Properties
-
alternativesRoads
→ List<
Route> ? -
final
- distance → double
-
this attribute is the distance of the route in km
final
- duration → double
-
this attribute is the duration of route in second
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instructions
→ List<
RouteInstruction> -
final
-
polyline
→ List<
LngLat> ? -
this is list of geopoint of the route,this attribute is not null if geometry equal to geojson
except that use always polylineEncoded
final
- polylineEncoded → String?
-
this is the encoded list of lnglat that should decoded to get list of geopoint
this attribute can be null if the geometry == geojson
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? distance, double? duration, String? polylineEncoded, List< LngLat> ? polyline, List<Route> ? alternativesRoads, List<RouteInstruction> ? instructions}) → Route -
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