GeospatialConfig class

Constants for geo spatial config.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of this instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

forPolicy(IndexingPolicy? indexingPolicy) GeospatialConfig?
Find proper geospatial config for the indexingPolicy if provided. null if indexingPolicy or IndexingPolicy.spatialIndexes is null.

Constants

geography → const GeospatialConfig
Geography type.
geometry → const GeospatialConfig
Geometry type.