TypeConverter<T, I> class Null safety

Extend TypeConverter to convert any type to a type supported by Isar.

It is your responsibility to make this class backwards compatible if you change the schema of your collection.

Constructors

TypeConverter()
const

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

fromIsar(I object) → T
Convert the value from the Isar type to the Dart type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toIsar(T object) → I
Convert the value from the Dart type to the Isar type.
toString() String
A string representation of this object.
inherited

Operators

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