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