isMyFriend method Null safety

Future<NIMResult<bool>> isMyFriend(
  1. String userId
)

Implementation

Future<NIMResult<bool>> isMyFriend(String userId) async {
  return _platform.isMyFriend(userId);
}