getUserInfo method Null safety

Future<NIMResult<NIMUser>> getUserInfo(
  1. String userId
)

Get the information about a user from the local database. Query the user information by userId.

Implementation

Future<NIMResult<NIMUser>> getUserInfo(String userId) async {
  return _platform.getUserInfo(userId);
}