commitBatch method Null safety

Future<void> commitBatch(
  1. Batch batch
)

Implementation

Future<void> commitBatch(Batch batch) async {
  await batch.commit(noResult: true);
}