discardAndContinue method

void discardAndContinue()

Discard and continue.

Implementation

void discardAndContinue() {
  final target = pendingSelectionId;
  draft = null;
  pendingSelectionId = null;
  if (target != null) {
    _selectImmediately(target);
  } else {
    notifyListeners();
  }
}