MultiPolygon class

MultiPolygon, as specified here https://tools.ietf.org/html/rfc7946#section-3.1.7

Inheritance
Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

MultiPolygon({BBox? bbox, List<List<List<Position>>> coordinates = const []})
MultiPolygon.fromJson(Map<String, dynamic> json)
factory
MultiPolygon.fromPolygons({BBox? bbox, required List<Polygon> polygons})

Properties

bbox BBox?
getter/setter pairinherited
coordinates List<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() MultiPolygon
override
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>
override
toString() String
A string representation of this object.
inherited

Operators

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