setProperty method Null safety

Object setProperty(
  1. String property,
  2. String value,
  3. [String? priority = '']
)

Modifies an existing CSS property or creates a new CSS property in the declaration block. style.setProperty(propertyName, value, priority);

Implementation

external Object setProperty(String property, String value,
    [String? priority = '']);