unlock method Null safety

void unlock()

Unlock the interceptor. please refer to lock()

Implementation

void unlock() {
  if (locked) {
    _completer.complete();
    _lock = null;
  }
}