Feature<T extends GeometryObject> class

Inheritance

Constructors

Feature({BBox? bbox, dynamic id, Map<String, dynamic>? properties = const {}, T? geometry, Map<String, dynamic> fields = const {}})
Feature.fromJson(Map<String, dynamic> json)
factory

Properties

bbox BBox?
getter/setter pairinherited
fields Map<String, dynamic>
getter/setter pair
geometry ↔ T?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id ↔ dynamic
getter/setter pair
properties Map<String, dynamic>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GeoJSONObjectType
finalinherited

Methods

clone() Feature<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Map<String, dynamic> map) Map<String, dynamic>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override
operator [](String key) → dynamic