onGetDocument method

void onGetDocument(
  1. int? id,
  2. String method,
  3. Map<String, dynamic>? params
)

Implementation

void onGetDocument(int? id, String method, Map<String, dynamic>? params) {
  Node root = elementManager.document.documentElement;
  InspectorDocument document = InspectorDocument(
    InspectorNode(root)
  );

  sendToFrontend(id, document);
}