setProperty<T> function Null safety

T setProperty<T>(
  1. Object o,
  2. Object name,
  3. T? value
)

Implementation

T setProperty<T>(Object o, Object name, T? value) {
  assertInterop(value);
  return JS('', '#[#]=#', o, name, value);
}