NetworkError constructor

NetworkError(
  1. DioException dioException, {
  2. String? statusCodeValue,
})

Implementation

NetworkError(DioException dioException, {this.statusCodeValue})
    : super(
        requestOptions: dioException.requestOptions,
        response: dioException.response,
        error: dioException.error,
        type: dioException.type,
      );