setAttributeValue method

void setAttributeValue({
  1. required String attributeName,
  2. dynamic attributeValue,
  3. AttributeType attributeType = .variant,
})

Sets the value of an existing attribute.

Object type must match the type of the attribute.

Parameters:

  • attributeName — The name of the attribute to update.
  • attributeValue — The value to be set on the attribute.
  • attributeType - The specific numeric type if other than int64 or float64.