cancelAll method

  1. @override
Future<void> cancelAll()
override

Withdraws every notification this app has posted.

Implementation

@override
Future<void> cancelAll() async {
  try {
    await _channel.invokeMethod('cancelAll');
  } on PlatformException catch (e) {
    _log.w('cancelAll failed: ${e.message}');
  } on MissingPluginException {
    return;
  }
}