onReceiveEventFromPipeline method

void onReceiveEventFromPipeline(
  1. String eventName,
  2. String jsonData
)

Implementation

void onReceiveEventFromPipeline(String eventName, String jsonData) {
  final Function? handler = _functionMap[eventName];
  if (handler != null) {
    final List<String> jsonDict = _getJsonObject(jsonData);
    handler(jsonDict);
  }
}