DocumentSnapshot constructor

DocumentSnapshot({
  1. required StringIndex documentURL,
  2. required StringIndex title,
  3. required StringIndex baseURL,
  4. required StringIndex contentLanguage,
  5. required StringIndex encodingName,
  6. required StringIndex publicId,
  7. required StringIndex systemId,
  8. required StringIndex frameId,
  9. required NodeTreeSnapshot nodes,
  10. required LayoutTreeSnapshot layout,
  11. required TextBoxSnapshot textBoxes,
  12. num? scrollOffsetX,
  13. num? scrollOffsetY,
  14. num? contentWidth,
  15. num? contentHeight,
})

Implementation

DocumentSnapshot(
    {required this.documentURL,
    required this.title,
    required this.baseURL,
    required this.contentLanguage,
    required this.encodingName,
    required this.publicId,
    required this.systemId,
    required this.frameId,
    required this.nodes,
    required this.layout,
    required this.textBoxes,
    this.scrollOffsetX,
    this.scrollOffsetY,
    this.contentWidth,
    this.contentHeight});