BadGateway constructor

const BadGateway({
  1. String? message,
  2. ErrorType errorType = ErrorType.badGateway,
})

Implementation

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