FileStore class final
Persists the bundle as one file per SDK key in directory (native platforms only).
Writes go to a temporary file that is then renamed over the old one, so a crash mid-write
never leaves a truncated bundle behind. In Flutter apps, pass the application-support
directory (path_provider), or use SharedPreferencesStore from package:nanoflags_flutter.
- Implemented types
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String id) → Future< String?> -
The value stored under
id, or null.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String id, String value) → Future< void> -
Replaces the value stored under
id.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited