DioException.badResponse constructor
DioException.badResponse({
- required int statusCode,
- required RequestOptions requestOptions,
- required Response response,
Implementation
factory DioException.badResponse({
required int statusCode,
required RequestOptions requestOptions,
required Response response,
}) =>
DioException(
type: DioExceptionType.badResponse,
requestOptions: requestOptions,
response: response,
error: null,
message: _badResponseExceptionMessage(statusCode),
);