isCancel static method
Whether the error
is thrown by cancel.
Implementation
static bool isCancel(DioException error) =>
error.type == DioExceptionType.cancel;
Whether the error
is thrown by cancel.
static bool isCancel(DioException error) =>
error.type == DioExceptionType.cancel;