DioException.badCertificate constructor
DioException.badCertificate({
- required RequestOptions requestOptions,
- Object? error,
Implementation
factory DioException.badCertificate({
required RequestOptions requestOptions,
Object? error,
}) =>
DioException(
type: DioExceptionType.badCertificate,
requestOptions: requestOptions,
response: null,
error: error,
message: 'The certificate of the response is not approved.',
);