operator []= method

void operator []=(
  1. String name,
  2. ValueSetter? setter
)

Sets a ValueSetter for a property/attribute identified by a name.

Implementation

void operator []=(String name, ValueSetter? setter) {
  _attributes[name] = setter;
}