unlocked method Null safety

  1. @protected
  2. @mustCallSuper
void unlocked()

Called by lockEvents when events get unlocked.

This should flush any events that were queued while locked was true.

Implementation

@protected
@mustCallSuper
void unlocked() {
  assert(!locked);
}