DirectionRoute class

Constructors

DirectionRoute({String? routeIndex, num? distance, num? duration, String? geometry, num? weight, String? weightName, List<Legs>? legs, RouteOptions? routeOptions, String? voiceLocale})
DirectionRoute.fromJson(Map<String, dynamic> json)

Properties

distance num?
getter/setter pair
duration num?
getter/setter pair
geometry String?
This is the encoded string of the route, you can decode it to get the list of coordinates using VietmapPolylineDecoder.decodePolyline method from VietmapPolylineDecoder class
getter/setter pair
getCoordinates List<LatLng>
no setter
hashCode int
The hash code for this object.
no setterinherited
legs List<Legs>?
getter/setter pair
routeIndex String?
getter/setter pair
routeOptions RouteOptions?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
voiceLocale String?
getter/setter pair
weight num?
getter/setter pair
weightName String?
getter/setter pair

Methods

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

Operators

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