bool supportsProperty(
String propertyName
)

Returns true if the provided CSS property name is supported on this element.

Please note the property name camelCase, not-hyphens. This method returns true if the property is accessible via an unprefixed or prefixed property.

Source

/**
 * Returns true if the provided *CSS* property name is supported on this
 * element.
 *
 * Please note the property name camelCase, not-hyphens. This
 * method returns true if the property is accessible via an unprefixed _or_
 * prefixed property.
 */
bool supportsProperty(String propertyName) {
  return _supportsProperty(propertyName) ||
      _supportsProperty(_camelCase(Device.cssPrefix + propertyName));
}