updatePath method

  1. @internal
void updatePath(
  1. String newPath
)

Update the path, causing a new useCase to bet returned. Resets the knobs during the update.

Implementation

@internal
void updatePath(String newPath) {
  path = newPath;

  // Reset Knobs
  knobs.clear();
  queryParams.remove('knobs');

  notifyListeners();
}