activeNotifications property
Gets all the active notifications for the application.
Supported on Android Marshmallow (23)+ and iOS 10+.
Implementation
Future<List<PushPayload>> get activeNotifications async {
List notifications =
await (_module.channel.invokeMethod('push#getActiveNotifications'));
return notifications.map((dynamic payload) {
return PushPayload.fromJson(payload);
}).toList();
}