Commit method

Future<void> Commit()

Commit After Write All Statements This Gonna Commit

Commit Function will generate a Late Exception Because it's need to OpenBatch To called

await batch.Commit();

Implementation

Future<void> Commit() async {
  await batch.commit();
}