DocumentSnapshot class
Document snapshot.
Constructors
- DocumentSnapshot({required StringIndex documentURL, required StringIndex title, required StringIndex baseURL, required StringIndex contentLanguage, required StringIndex encodingName, required StringIndex publicId, required StringIndex systemId, required StringIndex frameId, required NodeTreeSnapshot nodes, required LayoutTreeSnapshot layout, required TextBoxSnapshot textBoxes, num? scrollOffsetX, num? scrollOffsetY, num? contentWidth, num? contentHeight})
-
DocumentSnapshot.fromJson(Map<
String, dynamic> json) -
factory
Properties
- baseURL → StringIndex
-
Base URL that
Document
orFrameOwner
node uses for URL completion.final - contentHeight → num?
-
Document content height.
final
- contentLanguage → StringIndex
-
Contains the document's content language.
final
- contentWidth → num?
-
Document content width.
final
- documentURL → StringIndex
-
Document URL that
Document
orFrameOwner
node points to.final - encodingName → StringIndex
-
Contains the document's character set encoding.
final
- frameId → StringIndex
-
Frame ID for frame owner elements and also for the document node.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → LayoutTreeSnapshot
-
The nodes in the layout tree.
final
- nodes → NodeTreeSnapshot
-
A table with dom nodes.
final
- publicId → StringIndex
-
DocumentType
node's publicId.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollOffsetX → num?
-
Horizontal scroll offset.
final
- scrollOffsetY → num?
-
Vertical scroll offset.
final
- systemId → StringIndex
-
DocumentType
node's systemId.final - textBoxes → TextBoxSnapshot
-
The post-layout inline text nodes.
final
- title → StringIndex
-
Document 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