getNullableValue
Returns the value of a specific nullable value property.
The class
argument must be the KClass of the RealmStorageType for the property.
To retrieve values for non-nullable, object or list properties use the getValue, getObject and get<X>List
variants.
Return
the RealmList value.
Parameters
propertyName
the name of the property to retrieve the value for.
clazz
the Kotlin class of the value.
T
the type of the value.
Throws
IllegalArgummentException
if the class doesn't contain a field with the specific name, if clazz
doesn't match the property's RealmStorageType.kClass or if trying to retrieve collection properties.