getList<T extends Object?> method
Gets a list by the property name. If a generic type is specified, the property
type will be validated against the type. Otherwise, a List<Object>
will be
returned.
Implementation
RealmList<T> getList<T extends Object?>(String name) {
_validatePropertyType<T>(name, RealmCollectionType.list);
return RealmObjectBase.get<T>(_obj, name) as RealmList<T>;
}