receiveFromFrontend method

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

Implementation

@override
void receiveFromFrontend(int? id, String method, Map<String, dynamic>? params) {
  switch (method) {
    case 'highlightNode':
      onHighlightNode(id, params!);
      break;
    case 'hideHighlight':
      onHideHighlight(id);
      break;
  }
}