getActiveNotifications method
Returns the list of active notifications shown by the application that haven't been dismissed/removed.
Throws a PlatformException
with an unsupported_os_version
error code
when the OS version is older than what is supported to have results
returned. On platforms that don't support the method at all,
it will throw an UnimplementedError.
Implementation
Future<List<ActiveNotification>> getActiveNotifications() {
throw UnimplementedError(
'getActiveNotifications() has not been implemented');
}