CSSStyleSheetHeader class

CSS stylesheet metainformation.

Constructors

CSSStyleSheetHeader({required StyleSheetId styleSheetId, required FrameId frameId, required String sourceURL, String? sourceMapURL, required StyleSheetOrigin origin, required String title, BackendNodeId? ownerNode, required bool disabled, bool? hasSourceURL, required bool isInline, required bool isMutable, required bool isConstructed, required num startLine, required num startColumn, required num length, required num endLine, required num endColumn, bool? loadingFailed})
CSSStyleSheetHeader.fromJson(Map<String, dynamic> json)
factory

Properties

disabled bool
Denotes whether the stylesheet is disabled.
final
endColumn num
Column offset of the end of the stylesheet within the resource (zero based).
final
endLine num
Line offset of the end of the stylesheet within the resource (zero based).
final
frameId FrameId
Owner frame identifier.
final
hashCode int
The hash code for this object.
no setterinherited
hasSourceURL bool?
Whether the sourceURL field value comes from the sourceURL comment.
final
isConstructed bool
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.
final
isInline bool
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
final
isMutable bool
Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. <link> element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
final
length num
Size of the content (in characters).
final
loadingFailed bool?
If the style sheet was loaded from a network resource, this indicates when the resource failed to load
final
origin StyleSheetOrigin
Stylesheet origin.
final
ownerNode BackendNodeId?
The backend id for the owner node of the stylesheet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceMapURL String?
URL of source map associated with the stylesheet (if any).
final
sourceURL String
Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported as a CSS module script).
final
startColumn num
Column offset of the stylesheet within the resource (zero based).
final
startLine num
Line offset of the stylesheet within the resource (zero based).
final
styleSheetId StyleSheetId
The stylesheet identifier.
final
title String
Stylesheet title.
final

Methods

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

Operators

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