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