operator []= method

void operator []=(
  1. String name,
  2. Object? value
)

Implementation

void operator []=(String name, Object? value) =>
    setAttribute(name, (value ?? '').toString());