ValueCodec<V> class abstract

Converts one Dart value to a SQLite storage value and back.

Constructors

ValueCodec()
A codec with no stored configuration.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
nullable → bool
Whether SQL NULL is a valid stored value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlType → String
INTEGER, REAL, TEXT, or BLOB.
no setter

Methods

decode(Object? value) → V
Converts a SQLite storage value back to V.
encode(V value) → Object?
Converts value to a SQLite storage value.
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