BinaryPersistence<T> class
Binary persistence for custom serialization.
- Inheritance
-
- Object
- SignalPersistence<
T> - BinaryPersistence
Constructors
Properties
-
fromBytes
→ T Function(List<
int> bytes) -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
final
-
read
→ Future<
List< Function(String key)int> ?> -
final
-
remove
→ Future<
void> Function(String key) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toBytes
→ List<
int> Function(T value) -
final
-
write
→ Future<
void> Function(String key, List<int> bytes) -
final
Methods
-
delete(
) → Future< void> -
override
-
load(
) → Future< T?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
T value) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited