DemoteGroupUsersRequest constructor

DemoteGroupUsersRequest({
  1. String? groupId,
  2. Iterable<String>? userIds,
})

Implementation

factory DemoteGroupUsersRequest({
  $core.String? groupId,
  $core.Iterable<$core.String>? userIds,
}) {
  final _result = create();
  if (groupId != null) {
    _result.groupId = groupId;
  }
  if (userIds != null) {
    _result.userIds.addAll(userIds);
  }
  return _result;
}