only ios
Future<bool> resetBadgeWithIOS() async { if (_isIOS) { final bool? status = await _channel.invokeMethod<bool?>('resetBadge'); return status ?? false; } return false; }