LocalValueImpl<T> class
abstract
This is an internal implementation of LocalValue. required so that we can overload (LocalSingleton and LocalValue both have read and write methods with different paramaters). All doc comments are in LocalValue.
- Implementers
Constructors
-
LocalValueImpl({DocumentType? documentType, Map<
String, dynamic> toJson(T)?, T fromJson(Map<String, dynamic> )?, List<String> ? basePath, required Future<LocalDataContainer> localDataContainerCreator(DocumentType documentType, String fileName)}) -
const
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
-
deleteValue(
String fileName) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readValue(
String fileName) → Future< T?> -
toString(
) → String -
A string representation of this object.
inherited
-
writeValue(
String fileName, T toWrite) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited