addManagers method Null safety
Assign the admin role to group members. Only the group owner has permission for this operation. teamId: The group ID accounts: Accounts to be assigned with the admin role. Future: You can set the callback function. If the callback is invoked, the returned parameter is the list of new admins.
Implementation
Future<NIMResult<List<NIMTeamMember>>> addManagers(
String teamId, List<String> accounts) {
return _platform.addManagers(teamId, accounts);
}