StorageContract<T> class abstract

Constructors

StorageContract(String key)

Properties

existStrict → Future<bool>
Check if value exists after generate
no setter
hashCode → int
The hash code for this object.
no setterinherited
key → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → FlutterSecureStorage
no setter
value → Future<T>
Get value
no setter

Methods

clear() → Future<void>
Delete raw value
exists() → Future<bool>
Check if key is wrote
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → Future<String?>
readForce() → Future<String>
toString() → String
A string representation of this object.
inherited
update(T value) → Future<void>
Update raw value
write(String? value) → Future<void>

Operators

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