readAsString_ method
Implementation
FutureOr<String?> readAsString_() {
_locks[addPrefix(path)] ??= Lock();
return _locks[addPrefix(path)]?.synchronized(() async {
final file = File(addPrefix(path));
if (await file.exists_()) {
return await file.readAsString();
}
return null;
});
}