Feature class Null safety

The base class for all feature types.

Implementers

Constructors

Feature({Map<String, dynamic> properties = const <String, dynamic>{}})
Feature.fromJson(Map<String, dynamic> json)
Creates a Feature from a JSON object.
factory
Feature.fromWKT(String wkt)
Creates a Feature from a WKT String.
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
properties Map<String, dynamic>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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