setIOSGeTuiLocalBadge function

Future<bool> setIOSGeTuiLocalBadge(
  1. int badge
)

only ios

Implementation

Future<bool> setIOSGeTuiLocalBadge(int badge) async {
  if (_isIOS) {
    final bool? status =
        await _channel.invokeMethod<bool?>('setLocalBadge', badge);
    return status ?? false;
  }
  return false;
}