commit method

  1. @override
Future<void> commit()
override

Commits the current batch of transactions

Keeps the existing batch and transactionSize

Implementation

@override
Future<void> commit() async {
  await _commitBatch();

  _createNewBatch();
}