undoState method Null safety

void undoState()

Undo to the last valid state (isWaiting and hasError are ignored)

Implementation

void undoState();