GeoJsonGeometryCollection class
A geometry collection
- Inheritance
-
- Object
- GeoJsonGeometry
- GeoJsonGeometryCollection
- Annotations
-
- @JsonSerializable.new()
Constructors
-
GeoJsonGeometryCollection({required List<
GeoJsonGeometry> geometries, String? name, dynamic type}) -
Default constructor
JSON 'type' is intentionally ignored and super is forced to use proper type
const
-
GeoJsonGeometryCollection.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
geometries
→ List<
GeoJsonGeometry> -
The geometries
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String?
-
The name of the collection
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → GeoJsonGeometryType
-
finalinherited
Methods
-
add(
GeoJsonGeometry geom) → void - Add a geometry to the collection
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override