void reflectPropertyToAttribute(String name)

Serializes a property to its associated attribute.

Generally users should set reflectToAttribute: true in the properties configuration to achieve automatic attribute reflection.

Source

void reflectPropertyToAttribute(String name) {
  jsElement.callMethod('reflectPropertyToAttribute', [name]);
}