GeoGeometryCodec class final
Stores any GeoGeometry as EWKB.
- Inheritance
-
- Object
- ValueCodec<
GeoGeometry> - GeoGeometryCodec
Constructors
- GeoGeometryCodec({int? srid, GeoGeometryType? type})
-
srid0or null accepts the geometry's own SRID.typenull accepts every geometry kind.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nullable → bool
-
Whether SQL
NULLis a valid stored value.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sqlType → String
-
INTEGER,REAL,TEXT, orBLOB.no setteroverride - srid → int?
-
Required SRID, or null when the caller does not check it.
final
- type → GeoGeometryType?
-
Required geometry kind, or null.
final
Methods
-
decode(
Object? value) → GeoGeometry -
Converts a SQLite storage value back to
V.override -
encode(
GeoGeometry value) → Uint8List -
Converts
valueto a SQLite storage value.override -
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