Shape class abstract

Base class for shapes.

Implementers

Constructors

Shape()
const

Properties

coordinates List
The shape's coordinates that will be serialized as the coordinates GeoJSON field.
no setter
hashCode int
The hash code for this object.
no setterinherited
paths Iterable<Iterable<Point>>
The shape's sets of points.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DataType
The shape's data type that will be serialized as the type GeoJSON field.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toGeoJson() Map<String, dynamic>
Serializes to GeoJSON.
toJson() Map<String, dynamic>
Serializes this instance to a JSON object (GeoJson).
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromGeoJson<T>(Map json, GeospatialConfig config) → T
Deserializes from GeoJSON.