queryTeam method Null safety

Future<NIMResult<NIMTeam>> queryTeam(
  1. String teamId
)

Get a group profile. If no group file exists in the local database, the SDK will query the group file from the CommsEase IM server. If the current user is not in the group, the API might return an obsolete profile. If you need to get the latest profile, call {@link #searchTeam(String)}. teamId The group ID

Implementation

Future<NIMResult<NIMTeam>> queryTeam(String teamId) {
  return _platform.queryTeam(teamId);
}