OsrmLineString class
OsrmLineString class for a line string read more: https://tools.ietf.org/html/rfc7946#section-3.1.4 basically it is a list of OsrmCoordinate
Constructors
-
OsrmLineString({required List<
OsrmCoordinate> coordinates}) -
OsrmLineString.fromMap(Map<
String, dynamic> json) -
fromMap method to get the OsrmLineString from a json map
factory
Properties
-
coordinates
→ List<
OsrmCoordinate> -
coordinates the coordinates of the line string
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toMap method to get the OsrmLineString as a json map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited