LocalSingleton<T> class
- Inheritance
-
- Object
- LocalValueImpl<
T> - LocalSingleton
Constructors
-
LocalSingleton({required String id, DocumentType? documentType, T fromJson(Map<
String, dynamic> )?, Map<String, dynamic> toJson(T)?}) -
Local persistance container for singletons.
const
Properties
Methods
-
delete(
) → Future< void> -
deleteValue(
String fileName) → Future< bool> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< T?> -
readValue(
String fileName) → Future< T?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
T toWrite) → Future< void> -
writeValue(
String fileName, T toWrite) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited