clearAllAddApplication static method

Future<NIMResult<void>> clearAllAddApplication()

清空添加好友申请通知

Implementation

static Future<NIMResult<void>> clearAllAddApplication() {
  return NimCore.instance.friendService
      .clearAllAddApplication()
      .then((result) {
    if (result.isSuccess) {
      _addApplicationUnreadCountNotifier.add(0);
    }
    return result;
  });
}