reset method

void reset()

Implementation

void reset() {
  if (resetFunc != null) {
    resetFunc!();
  }
}