GeometryCollectionField class

Constructors

GeometryCollectionField({required String type, required List geometries, List<MultiPointField>? multiPoints, List<MultiLineStringField>? multiLineStrings, List<LineStringField>? lineStrings, List<MultiPolygonField>? multiPolygons, List<PointField>? points, List<PolygonField>? polygons})
const
GeometryCollectionField.fromJson(Map<String, dynamic> json)
Parse the incoming json and return a GeometryCollectionField Usage, assuming that u parse a incoming json source, then the runtime type is a _InternalLinkedHashMap: GeometryCollectionField.fromJson(Map<String, dynamic>.from(elem'location'))
factory

Properties

geometries List
The geometries of the GeometryCollectionField. This list can contain: MultiPoint, MultiLineString, LineString, MultiPolygon, PointField, PolygonField
final
hashCode int
The hash code for this object.
no setterinherited
lineStrings List<LineStringField>?
A list of the LineString fields inside the geometries
final
multiLineStrings List<MultiLineStringField>?
A list of the MultiLineString fields inside the geometries
final
multiPoints List<MultiPointField>?
A list of the MultiPoint fields inside the geometries
final
multiPolygons List<MultiPolygonField>?
A list of the MultiPolygon fields inside the geometries
final
points List<PointField>?
A list of the PointField fields inside the geometries
final
polygons List<PolygonField>?
A list of the PolygonField fields inside the geometries
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the Field, to reconstruct the incoming json data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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