Polygon class final

Inheritance

Constructors

Polygon({BBox? bbox, required List<List<Position>> coordinates})
Polygon.fromJson(Map<String, dynamic> json)
factory
Polygon.fromPoints({BBox? bbox, required List<List<Point>> points})

Properties

bbox BBox?
getter/setter pairinherited
coordinates List<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() → Polygon
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) Polygon