setPropertyFromSimpleMap method

void setPropertyFromSimpleMap(
  1. String property,
  2. Map<String, Object?>? mapObject
)

Sets property from simple map.

Implementation

void setPropertyFromSimpleMap(String property, Map<String, Object?>? mapObject)
{
  if (mapObject != null) {
    setPropertyUnsafe(property, marshalSimpleMap(mapObject).getRawValue() );
  }
  else {
    removeProperty(property);
  }
}