removeMembers method Null safety

Future<NIMResult<void>> removeMembers(
  1. String teamId,
  2. List<String> members
)

Remove a group member. Only the group owner has the permission. teamId The group ID members The IM accounts (accid) of the users who need to be removed from the group.

Implementation

Future<NIMResult<void>> removeMembers(
    String teamId, List<String> members) async {
  return _platform.removeMembers(teamId, members);
}