FeatureCollection class Null safety

A FeatureCollection is a collection of Features.

Constructors

FeatureCollection(List<Feature> features)
FeatureCollection.fromJson(Map<String, dynamic> json)
Creates a FeatureCollection from a JSON object.
factory

Properties

features List<Feature>
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

explode() FeatureCollection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the FeatureCollection to a GEOJSON FeatureCollection object.
toString() String
A string representation of this object.
override
toWKT() String
Converts the FeatureCollection to a WKT string.

Operators

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

Static Properties

type String
final