set<T extends Object?> method
Sets a property by its name. The supplied value
must be assignable
to the property type, otherwise an exception will be thrown.
Implementation
void set<T extends Object?>(String name, T value) {
_validatePropertyType<T>(name, RealmCollectionType.none, relaxedNullability: true);
RealmObjectBase.set(_obj, name, value);
}