MatchResponse class

MatchResponse class for the match response

Inheritance

Constructors

MatchResponse({required OsrmResponseCode code, String? message, required List<OsrmWaypoint> tracepoints, required List<OsrmRoute> matchings})
MatchResponse.fromMap(Map<String, dynamic> json)
fromMap method to get the MatchResponse 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
matchings List<OsrmRoute>
matchings An array of Route objects that assemble the trace
final
message String?
message the message of the response
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracepoints List<OsrmWaypoint>
tracepoints Array of Waypoint objects representing all points of the trace in order. If the trace point was ommited by map matching because it is an outlier, the entry will be null
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