copyWith method

HTTPValidationError copyWith({
  1. List<ValidationError>? detail,
})

Implementation

HTTPValidationError copyWith({List<ValidationError>? detail}) {
  return HTTPValidationError(detail: detail ?? this.detail);
}