clear method

  1. @Deprecated('Will delete in v5.0. Use `QueuedInterceptor` instead, more detail see' ' https://github.com/flutterchina/dio/issues/1308')
  2. @override
void clear()
inherited

Clear the current Dio instance waiting queue.

Implementation

@Deprecated(
    'Will delete in v5.0. Use `QueuedInterceptor` instead, more detail see'
    ' https://github.com/flutterchina/dio/issues/1308')
@override
void clear() {
  interceptors.requestLock.clear();
}