Feature<T extends GeometryObject> class Null safety

Feature, as specified here https://tools.ietf.org/html/rfc7946#section-3.2

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?
read / write, inherited
fields Map<String, dynamic>
read / write
geometry ↔ T?
read / write
hashCode int
The hash code for this object. [...]
read-only, override
id ↔ dynamic
read / write
properties Map<String, dynamic>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type GeoJSONObjectType
final, inherited

Methods

clone() Feature<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 ==(dynamic other) bool
The equality operator. [...]
override
operator [](String key) → dynamic