rollback method
void
rollback()
Undoes all changes made in the transaction.
Implementation
void rollback() {
final realm = _ensureOpen('rollback');
if (!realm.isClosed) {
realm.handle.rollbackWrite();
}
_closeTransaction();
}