addFriend method Null safety
- {required String userId,
- String? message,
- required NIMVerifyType verifyType}
Add a friend.
Implementation
Future<NIMResult<void>> addFriend(
{required String userId,
String? message,
required NIMVerifyType verifyType}) async {
return _platform.addFriend(userId, message, verifyType);
}