Store<T> class

Constructors

Store({required String storeName, Future<Directory> getDirectory() = _getDocumentDirectory, required dynamic deserialize(Uint8List), required dynamic serialize(T)})

Properties

deserialize → dynamic Function(Uint8List)
final
getDirectory Future<Directory> Function()
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialize → dynamic Function(T)
final
storeName String
final

Methods

get(String itemName) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(String itemName, T value) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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