Canceller constructor

Canceller()

Constructor that initializes the CancelToken instance.

When the Canceller class is instantiated, it creates a new CancelToken to be used for cancellation. The CancelToken is responsible for managing the cancellation process of a Dio request.

Example usage:

final canceller = Canceller();

Implementation

Canceller() {
  _cancelToken = CancelToken();
}