BadRequest constructor

BadRequest({
  1. Iterable<BadRequest_FieldViolation>? fieldViolations,
})

Implementation

factory BadRequest({
  $core.Iterable<BadRequest_FieldViolation>? fieldViolations,
}) {
  final _result = create();
  if (fieldViolations != null) {
    _result.fieldViolations.addAll(fieldViolations);
  }
  return _result;
}