setProperty function

dynamic setProperty (
  1. Object o,
  2. Object name,
  3. Object value
)

Implementation

dynamic setProperty(Object o, Object name, Object? value) =>
    JS('', '#[#]=#', o, name, value);