reset method

dynamic reset()

Set offset to zero

Implementation

reset() {
  offset = 0;
}