close method
void
close()
Closes the Realm
.
All RealmObject
s and Realm
collections are invalidated and can not be used.
This method will not throw if called multiple times.
Implementation
void close() {
if (isClosed) {
return;
}
_schemaCallbackHandle?.release();
handle.close();
handle.release();
}