commit method

void commit()

Commits the changes to the Realm.

Implementation

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

  realmCore.commitWrite(realm);

  _closeTransaction();
}