copyWith method

  1. @override
DioException copyWith({
  1. RequestOptions? requestOptions,
  2. Response? response,
  3. DioExceptionType? type,
  4. Object? error,
  5. StackTrace? stackTrace,
  6. String? message,
})

Generate a new DioException by combining given values and original values.

Implementation

@override
DioException copyWith({
  RequestOptions? requestOptions,
  Response? response,
  DioExceptionType? type,
  Object? error,
  StackTrace? stackTrace,
  String? message,
}) {
  // TODO: implement copyWith
  throw UnimplementedError();
}