local_values/local_value library
Classes
-
LocalValue<
T> - Local persistance container. LocalValue is useful when storing many values (ex. storing multiple users by id). If storing singletons (ex. only storing the currently logged in user), consider using LocalSingleton
Functions
-
buildLocalValueWithDependences<
T> ({required Future< LocalDataContainer> localDataContainerCreator(DocumentType, String), List<String> ? basePath, DocumentType? documentType, T fromJson(Map<String, dynamic> )?, Map<String, dynamic> toJson(T)?}) → LocalValue<T>