LzRouteLeg
Constructors
LzRouteLeg.new
LzRouteLeg.new(num distance, num duration, LatLng startLocation, LatLng endLocation, List<LzRouteStep> steps)const
LzRouteLeg.fromJson
LzRouteLeg.fromJson(Map<String, dynamic> json)factory
Properties
| Property | Type | Description |
|---|---|---|
distance | num | The distance of the leg in meters. (final) |
duration | num | The time duration of the leg in seconds. (final) |
endLocation | LatLng | The final position of the leg. (final) |
startLocation | LatLng | The initial position of the leg. (final) |
steps | List<LzRouteStep | The steps of the leg (final) |
Methods
toJson
toJson() → Map<String, dynamic>Last updated on