addManagers method Null safety

Future<NIMResult<List<NIMSuperTeamMember>>> addManagers(
  1. String teamId,
  2. List<String> accountList
)

Assign the admin role to specific group members. Only the group admin has the permission for this operation. teamId The group ID accountList Accounts that need to be assigned with the admin role

Implementation

Future<NIMResult<List<NIMSuperTeamMember>>> addManagers(
    String teamId, List<String> accountList) async {
  return _platform.addManagers(teamId, accountList);
}