StorageProvider class
- Mixed in types
Constructors
- StorageProvider(CoreStorage _storage, {String? password, bool logEnabled = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logEnabled → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< bool> -
create(
String key, Flag item) → Future< bool> -
delete(
String key) → Future< bool> -
getAll(
) → Future< List< Flag> > -
getSecuredValue(
String key) → Future< String?> -
override
-
log(
dynamic message) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< Flag?> -
saveAll(
List< Flag> items) → Future<bool> -
seed(
{required List< Flag> items}) → Future<bool> -
setSecuredValue(
String key, String value, {bool update = false}) → Future< bool> -
override
-
stream(
String featureName) → Stream< Flag> ? -
subject(
String featureName) → BehaviorSubject< Flag> ? -
togggleFeature(
String featureName) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String key, Flag item) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited