onMessageReceived method

  1. @override
dynamic onMessageReceived(
  1. RemoteMessage msg
)
override

Implementation

@override
onMessageReceived(RemoteMessage msg){
  methodChannel.invokeMethod('onMessageReceived',{'msg':msg});

}