RouteResponse class

RouteResponse class for the route response

Inheritance

Constructors

RouteResponse({required OsrmResponseCode code, String? message, required List<OsrmRoute> routes, List<OsrmWaypoint> waypoints = const []})
RouteResponse.fromMap(Map<String, dynamic> json)
fromMap method to get the RouteResponse from a json map
factory

Properties

code OsrmResponseCode
code the code of the response
finalinherited
dataVersion DateTime?
dataVersion the data version of the response
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
message the message of the response
finalinherited
routes List<OsrmRoute>
routes the routes of the response
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
waypoints List<OsrmWaypoint>
final

Methods

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