LineString class final
- Inheritance
-
- Object
- GeoJSONObject
- GeometryObject
- GeometryType<
List< Position> > - LineString
Constructors
-
LineString({BBox? bbox, required List<
Position> coordinates}) -
LineString.fromJson(Map<
String, dynamic> json) -
factory
-
LineString.fromPoints({BBox? bbox, required List<
Point> points})
Properties
- bbox ↔ BBox?
-
getter/setter pairinherited
-
coordinates
↔ List<
Position> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → GeoJSONObjectType
-
finalinherited
Methods
-
clone(
) → LineString -
inherited
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
Map< String, dynamic> map) → Map<String, dynamic> -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
Object result) → LineString