removeManagers method Null safety
Unassign the admin role from group members. Only the group owner has permission for this operation. teamId: The group ID managers: Accounts whose admin role need to be unassigned You can set the callback function. If the callback is invoked, the returned parameter is the list of members whose admin role has been unassigned.
Implementation
Future<NIMResult<List<NIMTeamMember>>> removeManagers(
String teamId, List<String> managers) {
return _platform.removeManagers(teamId, managers);
}