CSSRuleList class

A represents an ordered collection of read-only CSSRule objects. While the object is read-only, and cannot be directly modified, it is considered a live object, as the content can change over time. To edit the underlying rules returned by CSSRule objects, use CSSStyleSheet.insertRule() and CSSStyleSheet.deleteRule(), which are methods of CSSStyleSheet. The interface has no constructor. An instance of is returned by CSSStyleSheet.cssRules and CSSKeyframesRule.cssRules.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CSSRuleList()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited