writeAsync method
Implementation
@override
Future<void> writeAsync({
required String content,
}) async {
if (await _completerOpenDatabase.future) {}
if (_isInitializedDatabase) {
{
final data = _database.transaction(
pathToFile, _DatabaseIndexedOperationType.readwrite.name);
final ob = data.objectStore(pathToFile);
await ob.put(content, pathToFile);
}
}
return;
}