commit method

Future<void> commit()

Implementation

Future<void> commit() async {
  await _batch.commit();
  commitOptimisticUpdates();
}