buildLocalValueWithDependences<T> function
LocalValue<T>
buildLocalValueWithDependences<T>({
- required Future<
LocalDataContainer> localDataContainerCreator(), - List<
String> ? basePath, - DocumentType? documentType,
- T fromJson()?,
- Map<
String, dynamic> toJson(- T
Implementation
LocalValue<T> buildLocalValueWithDependences<T>({
required Future<LocalDataContainer> Function(DocumentType, String)
localDataContainerCreator,
List<String>? basePath,
DocumentType? documentType,
T Function(Map<String, dynamic>)? fromJson,
Map<String, dynamic> Function(T)? toJson,
}) {
return LocalValue._di(
localDataContainerCreator: localDataContainerCreator,
basePath: basePath,
documentType: documentType,
fromJson: fromJson,
toJson: toJson);
}