writeAsync<T> method
Create an asynchronous read-write transaction.
The code inside the callback will be executed in a separate isolate.
Check out the write method for more information.
Implementation
Future<T> writeAsync<T>(
T Function(Isar isar) callback, {
String? debugName,
}) =>
writeAsyncWith(null, (isar, _) => callback(isar), debugName: debugName);