queryTeamList method Null safety
Get all groups from the local database. Get the groups that the current user has joined. You can set the callback function. Once the callback is invoked, the list of groups that the current user has joined will be returned.
Implementation
Future<NIMResult<List<NIMTeam>>> queryTeamList() {
return _platform.queryTeamList();
}