GeoPointCodec class final
Stores a GeoPoint as EWKB and rejects every other kind on read.
Constructors
- GeoPointCodec({int srid = 4326})
-
sridis checked on encode. Zero accepts any SRID.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.
final
Methods
-
decode(
Object? value) → GeoPoint -
Converts a SQLite storage value back to
V.override -
encode(
GeoPoint 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