setPropertyFromComplexMap method

void setPropertyFromComplexMap(
  1. String property,
  2. Map? mapObject,
  3. IValueMarshallerFunction keyMarshaller,
  4. IValueMarshallerFunction valueMarshaller,
)

Sets property from complex map.

Implementation

void setPropertyFromComplexMap(String property, Map? mapObject, IValueMarshallerFunction keyMarshaller, IValueMarshallerFunction valueMarshaller)
{
  if (mapObject != null) {
    setPropertyUnsafe(property, marshalComplexMap(mapObject, keyMarshaller, valueMarshaller).getRawValue() );
  }
  else {
    removeProperty(property);
  }
}