getPropertyValue method Null safety

String getPropertyValue(
  1. String propertyName

Returns the value of the property if the provided CSS property name is supported on this element and if the value is set. Otherwise returns an empty string.

Please note the property name uses camelCase, not-hyphens.


String getPropertyValue(String propertyName) {
  return _getPropertyValueHelper(propertyName);