reset method

void reset()

Implementation

void reset() => errorType = null;