BadRequest constructor

const BadRequest({
  1. String? message,
  2. ErrorType errorType = ErrorType.badRequest,
})

Implementation

const BadRequest({
  String? message,
  ErrorType errorType = ErrorType.badRequest,
}) : super(errorType, message: message);