GeoGeometryCodec class final

Stores any GeoGeometry as EWKB.

Inheritance

Constructors

GeoGeometryCodec({int? srid, GeoGeometryType? type})
srid 0 or null accepts the geometry's own SRID. type null accepts every geometry kind.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
nullable → bool
Whether SQL NULL is a valid stored value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlType → String
INTEGER, REAL, TEXT, or BLOB.
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 value to 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