ackAddFriend method Null safety

Future<NIMResult<void>> ackAddFriend(
  1. {required String userId,
  2. bool isAgree = true}
)

Approve/disapprove a friend request.

Implementation

Future<NIMResult<void>> ackAddFriend(
    {required String userId, bool isAgree = true}) async {
  return _platform.ackAddFriend(userId, isAgree);
}