LzRouteStep
Constructors
LzRouteStep.new
LzRouteStep.new(num distance, num duration, LatLng startLocation, String? startInsideFloor, String? startInsidePlace, LatLng endLocation, String? endInsideFloor, String? endInsidePlace, String htmlInstruction, String plainInstruction, String maneuver, bool elevatorStep)const
LzRouteStep.fromJson
LzRouteStep.fromJson(Map<String, dynamic> json)factory
Properties
| Property | Type | Description |
|---|---|---|
distance | num | The distance of the step in meters. (final) |
duration | num | The time duration of the step in seconds. (final) |
elevatorStep | bool | If the step occurs in an elevator, this field will be true. (final) |
endInsideFloor | String? | The lazarillo id of the floor at the start of the step, if available. (final) |
endInsidePlace | String? | The lazarillo id of the place at the start of the step, if available. (final) |
endLocation | LatLng | The final position of the step. (final) |
htmlInstruction | String | The instruction for this step, can contain html tags. (final) |
maneuver | String | A string representing the maneuver of this step, ex. ‘turn-left’. (final) |
plainInstruction | String | The instruction for this step without any tag. (final) |
startInsideFloor | String? | The lazarillo id of the floor at the start of the step, if available. (final) |
startInsidePlace | String? | The lazarillo id of the place at the start of the step, if available. (final) |
startLocation | LatLng | The initial position of the step. (final) |
Methods
toJson
toJson() → Map<String, dynamic>Last updated on