onPush function
Implementation
Future<dynamic> onPush(String name, RemoteMessage payload) {
storage.append('$name: ${payload.notification?.title}');
final action = UNNotificationAction.getIdentifier(payload.data);
if (action != null && action != UNNotificationAction.defaultIdentifier) {
storage.append('Action: $action');
}
return Future.value(true);
}