discard method

void discard()

Implementation

void discard() {
  discarded = true;
}