Decoder<T> typedef
Convert storage persisted type to T
.
This is used in Storage.read.
Implementation
typedef Decoder<T> = FutureOr<T> Function(Object? o);
Convert storage persisted type to T
.
This is used in Storage.read.
typedef Decoder<T> = FutureOr<T> Function(Object? o);