PersistenceConverter<T, I> class abstract

Convert a value to/from a FastRxPersistenceInterface

  • T is the type of the value outside the store
  • I is the type of the value inside the store
Implementers

Constructors

PersistenceConverter()
Constructor
const
PersistenceConverter.inline({required T fromStore(I value), required I toStore(T value)})
Conveniently create a PersistenceConverter inline
factory

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

fromStore(I value) → T
Convert the value read from the store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toStore(T value) → I
Convert the value written to the store
toString() String
A string representation of this object.
inherited

Operators

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