clearAllNotifications method

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

Implementation

@override
Future<void> clearAllNotifications() async {
  try {
    await _methodChannel.invokeMethod<bool>(MethodsConstant.CLEAR_ALL);
  } on PlatformException catch (e) {
    log('Error clear all notifications at: ${e.message}');
  }
}