receiveFromFrontend method
Implementation
@override
void receiveFromFrontend(int? id, String method, Map<String, dynamic>? params) {
switch (method) {
case 'getDocument':
onGetDocument(id, method, params);
break;
case 'getBoxModel':
onGetBoxModel(id, params!);
break;
case 'setInspectedNode':
onSetInspectedNode(id, params!);
break;
case 'getNodeForLocation':
onGetNodeForLocation(id, params!);
break;
}
}