onReceivedMessage method

dynamic onReceivedMessage({
  1. required String eventName,
  2. dynamic arguments,
})

Implementation

dynamic onReceivedMessage({required String eventName, dynamic arguments}) {
  fastPrintInfo('$runtimeType  收到消息:$eventName  参数: $arguments');
}