onAccess top-level property
A callback, if specified, is called before starting an access (aka., a transaction).
- accessCount number of transactions before starting a transaction
for
command
.
Implementation
void Function(FutureOr Function(DBAccess access) command, int accessCount)?
onAccess;