TypeConverter<T> class abstract Models

Extend this to define a custom type converter.

Implementers

Constructors

TypeConverter(String 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
type String
The sql type to be converted
final

Methods

canEncodeValue(dynamic value) bool
decode(dynamic value) → T
encode(T value) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tryEncode(dynamic value) → dynamic

Operators

operator ==(Object other) bool
The equality operator.
inherited