LineString class

LineString Geometry.

Implemented types

Constructors

LineString(List<LatLng> coordinates)
Creates a LineString.
const
LineString.fromJson(Map<String, dynamic> json)
Creates a LineString from JSON data.
factory

Properties

coordinates List<LatLng>
List of points in the 2D space.
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
toJson() Map<String, dynamic>
Converts a LineString to its GeoJSON representation.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited