GeopolyPolygonType class final
The type used for the _shape
column in virtual GEOPOLY
tables.
This type is responsible for representing shape values in Dart. It is
created by drift when the geopoly
extension is enabled and a CREATE VIRTUAL TABLE USING geopoly
table is declared in a .drift
file.
- Implemented types
Constructors
- GeopolyPolygonType()
-
Default constant constructor for the geopoly type.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
mapToSqlLiteral(
GeopolyPolygon dartValue) → String -
Maps the
dartValue
to a SQL snippet that can be embedded as a literal into SQL queries generated by drift.override -
mapToSqlParameter(
GeopolyPolygon dartValue) → Object -
Maps the
dartValue
to a value understood by the underlying database driver.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
Object fromSql) → GeopolyPolygon -
Interprets the underlying
fromSql
value from the database driver into the Dart representationT
of this type.override -
sqlTypeName(
GenerationContext context) → String - Returns a suitable representation of this type in SQL.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited