reset method

void reset()

Resets the latch to its initial closed state, allowing it to be reused.

This clears the previous result and closes the latch.

Implementation

void reset() {
  _latchOpened = false;
  _cached = null; // clear previous result
  super.properties[this._property] = null;
}