FlutterStorage class
Storage engine to use with Flutter. Proxy of SharedPreferenceEngine and DocumentFileEngine.
- Implemented types
Constructors
- FlutterStorage({String key = "app", FlutterSaveLocation location = FlutterSaveLocation.documentFile})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
load(
) → Future< Uint8List?> -
Load state (can return null)
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
Uint8List? json) → Future< void> -
Save state (
data
could be null)override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited