onTokenReceived method
Implementation
void onTokenReceived(TokenNotificationParam token) {
notificationToken = token;
_channel.invokeMethod(DEVICETOKEN);
}
void onTokenReceived(TokenNotificationParam token) {
notificationToken = token;
_channel.invokeMethod(DEVICETOKEN);
}