flushEnd method

void flushEnd()

Applies an end held during the call.

Implementation

void flushEnd() {
  final end = _pendingEnd;
  _pendingEnd = null;
  end?.call();
}