getFriend method Null safety

Future<NIMResult<NIMFriend>> getFriend(
  1. String userId
)

Get the information about a fiend.

Implementation

Future<NIMResult<NIMFriend>> getFriend(String userId) async {
  return _platform.getFriend(userId);
}