Storage class

Inheritance
Annotations

Properties

avoidCall bool
If this flag is true, then all calls from dart to rust should be avoided. Typically, this method should be used in methods like updateData that makes calls to rust.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
instanceHash String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage StorageDartWrapper
getter/setter pair

Methods

dispose() → void
Free memory from of class in caller
override
get(String key) Future<String?>
Method to make get. It's called from rust
init() → InstanceMirror
inherited
initializeMirror() → InstanceMirror
Initialize mirror instance inside of instance of any class. Typical usage:
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({required String key}) Future<void>
Method to make remove. It's called from rust
removeUnchecked({required String key}) → void
Method to make removeUnchecked. It's called from rust
set({required String key, required String value}) Future<void>
Method to make set. It's called from rust
setUnchecked({required String key, required String value}) → void
Method to make setUnchecked. It's called from rust
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({required StorageGet get, required StorageSet set, required StorageSetUnchecked setUnchecked, required StorageRemove remove, required StorageRemoveUnchecked removeUnchecked}) Future<Storage>