Box class
Class to handle all local storage
Constructors
- Box({required String path, String? encryptionKey, EncryptionMode? mode})
Properties
- encryptionKey ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode ↔ EncryptionMode?
-
getter/setter pair
- path ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
String key) → dynamic - Delete from local storage
-
get(
String key) → Future - Get from local storage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String key, dynamic value) → dynamic - Save to local storage
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited