setProperty method Null safety

void setProperty (
  1. String name,
  2. Object? value
)

Set the value of the property with the given name to the given value. If the value is null, the property will effectively be removed.

Implementation

void setProperty(String name, Object? value);