StorageProvider class

Constructors

StorageProvider()
factory

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

clear() → Future<bool>
getBool(String key, {bool optionalValue = false}) → bool
getBoolAsync(String key) → Future<bool?>
getDouble(String key, {double optionalValue = 0.0}) → double
getInt(String key, {int optionalValue = 0}) → int
getObject(String key) → Map<String, dynamic>
getString(String key, {String optionalValue = ''}) → String
getStringList(String key, {List<String> optionalValue = const []}) → List<String>
init() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(dynamic key, [dynamic multi = false]) → Future<bool?>
setBool(String key, bool value) → Future<void>
setDouble(String key, double value) → Future<void>
setInt(String key, int value) → Future<void>
setObject(String key, dynamic value) → Future<void>
setString(String key, String value) → Future<void>
setStringList(String key, List<String> value) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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