getMatchedCssRules method Null safety

List<CssRule> getMatchedCssRules(
  1. Element? element,
  2. String? pseudoElement
)

Returns all CSS rules that apply to the element's pseudo-element.

Implementation

@JSName('getMatchedCSSRules')
/**
 * Returns all CSS rules that apply to the element's pseudo-element.
 */
@Returns('_CssRuleList')
@Creates('_CssRuleList')
List<CssRule> getMatchedCssRules(Element? element, String? pseudoElement)
    native;