refresh method
Update the Realm
instance and outstanding objects to point to the most recent persisted version.
If another process or Isolate has made changes to the realm file, this causes
those changes to become visible in this realm instance.
Typically you don't need to call this method since Realm has auto-refresh built-in.
Note that this may return true
even if no data has actually changed.
Implementation
bool refresh() {
return handle.refresh();
}