BadGatewayException constructor

BadGatewayException(
  1. String message, {
  2. Uri? uri,
  3. dynamic responseBody,
  4. Map<String, String>? headers,
  5. StackTrace? stackTrace,
})

Implementation

BadGatewayException(
  super.message, {
  super.uri,
  super.responseBody,
  super.headers,
  super.stackTrace,
}) : super(statusCode: 502);