clearAllNotificationForNotificationBarWithIOS method
only ios 清空下拉通知栏全部通知,并将角标置“0”,不显示角标
Implementation
Future<bool> clearAllNotificationForNotificationBarWithIOS() async {
if (_isIOS) {
final bool? status = await _channel
.invokeMethod<bool?>('clearAllNotificationForNotificationBar');
return status ?? false;
}
return false;
}