all method
Returns all RealmObject
s of type className
in the Realm
The returned RealmResults allows iterating all the values without further filtering.
Implementation
RealmResults<RealmObject> all(String className) {
final metadata = _realm._metadata.getByName(className);
final handle = _realm.handle.findAll(metadata.classKey);
return RealmResultsInternal.create<RealmObject>(handle, _realm, metadata);
}