unlock method

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

Unlock the current Dio instance.

Dio instance dequeue the request task。

Implementation

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