queryMemberList method Null safety

Future<NIMResult<List<NIMTeamMember>>> queryMemberList(
  1. String teamId
)

Get the group member list of a specified group.
It might takes time to get the group member information because the API might synchronize the latest data from the server. teamId: The group ID You can set the callback function. If the callback is invoked, the group member list will be returned.

Implementation

Future<NIMResult<List<NIMTeamMember>>> queryMemberList(String teamId) {
  return _platform.queryMemberList(teamId);
}