getBackgroundNotificationPayload method
Implementation
@override
Future<ApphudNotificationPayload?> getBackgroundNotificationPayload() async {
final result =
await methodChannel.invokeMethod<String>('checkBackgroundNotification');
if (result == null) {
return null;
}
return ApphudNotificationPayload.fromJson(json.decode(result));
}