reset method Null safety

void reset()

Resets any internal state of this object.

This method is invoked by the testing framework between tests. It should not ordinarily be called by tests directly.

Implementation

void reset() {
  log.clear();
  _client = null;
  setClientArgs = null;
  editingState = null;
  _isVisible = false;
}