GeoJSON class abstract

GeoJSON is an abstract class representing a geospatial data interchange format.

All GeoJSON objects must contain a member named "type". A GeoJSON object may have an optional "bbox" member.

Implementers

Constructors

GeoJSON.fromJSON(String source)
Constructs a GeoJSON object from a JSON string source.
factory
GeoJSON.fromMap(Map<String, dynamic> map)
Constructs a GeoJSON object from a map map.
factory

Properties

bbox List<double>?
An optional bounding box bbox of the GeoJSON object.
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GeoJSONType
The GeoJSONType type member of the GeoJSON object.
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON({int indent = 0}) String
Converts the object to a JSON string representation.
toMap() Map<String, dynamic>
Converts GeoJSON object to a Map.
toString() String
A string representation of this object.
override

Operators

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