DioError constructor Null safety

DioError(
  1. {required RequestOptions requestOptions,
  2. Response? response,
  3. DioErrorType type = DioErrorType.other,
  4. dynamic error}
)

Implementation

DioError({
  required this.requestOptions,
  this.response,
  this.type = DioErrorType.other,
  this.error,
});