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.
(Not actually possible, as a base feature has no geometry)
factory
- Feature.fromWKT(String wkt)
-
Creates a Feature from a WKT String.
(Not actually possible, as a base feature has no geometry)
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
Point
s. (Not actually possible, as a base feature has no geometry) -
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. (Not actually possible, as a base feature has no geometry)
-
toString(
) → String -
A string representation of this object.
override
-
toWKT(
) → String - Converts the Feature to a WKT String. (Not actually possible, as a base feature has no geometry)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited