commit method

void commit()

Commits the changes to the Realm.

Implementation

void commit() {
  final realm = _ensureOpen('commit');

  realm.handle.commitWrite();

  _closeTransaction();
}