isImportant method

bool isImportant(
  1. String propertyName
)

Whether the given property is marked as !important on this declaration.

Exposed for components (e.g., CSS variable resolver) that need to preserve importance when updating dependent properties.

Implementation

bool isImportant(String propertyName) {
  return _importants[propertyName] == true;
}