onMessageReceived method
Implementation
void onMessageReceived(BuildContext context, dynamic message) {
RTWebviewChannelEvent? event = receiveStrategy.onMessageReceived(message);
if (event == null) return;
call(context, event);
}
void onMessageReceived(BuildContext context, dynamic message) {
RTWebviewChannelEvent? event = receiveStrategy.onMessageReceived(message);
if (event == null) return;
call(context, event);
}