onReceiveMessage method
void
onReceiveMessage(
- RemoteMessage message
Implementation
void onReceiveMessage(RemoteMessage message){
try {
Notif n = getNotifModel(message)!;
notif.showNotification(n);
} catch (error) {
debugPrint("onMessage : error: $error");
}
}