resetAllState method

  1. @visibleForTesting
  2. @protected
  3. @mustCallSuper
void resetAllState()

Reset all InspectorService state.

Use this method only for testing to write hermetic tests for WidgetInspectorService.

Implementation

@visibleForTesting
@protected
@mustCallSuper
void resetAllState() {
  disposeAllGroups();
  selection.clear();
  resetPubRootDirectories();
}