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