writeLock<T> abstract method
Future<T>
writeLock<T>(})
override
Same as SqliteConnection.writeLock.
Has an additional flush
(defaults to true). This can be set to false
to delay flushing changes to the database file, losing durability guarantees.
This only has an effect when IndexedDB storage is used.
See flush
for details.
Implementation
Future<T> writeLock<T>(Future<T> Function(SqliteWriteContext tx) callback,
{Duration? lockTimeout, String? debugContext, bool? flush});