NearestResponse class
NearestResponse class for the nearest response
- Inheritance
-
- Object
- OsrmResponse
- NearestResponse
Constructors
-
NearestResponse({required OsrmResponseCode code, String? message, required List<
OsrmWaypoint> waypoints}) -
NearestResponse.fromMap(Map<
String, dynamic> json) -
fromMap method to get the NearestResponse 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
waypoints
→ List<
OsrmWaypoint> -
waypoints the waypoints of the response
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