setPropertyFromObject method

void setPropertyFromObject(
  1. String property,
  2. ISerialisable? value
)

Marshalling setter for convenience.

Implementation

void setPropertyFromObject(String property, ISerialisable? value)
{
  if (value != null) {
    setPropertyUnsafe(property, new MarshalledObject.marshal(value).getRawValue() );
  }
  else {
    removeProperty(property);
  }
}