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