updateCurrentPath method

void updateCurrentPath(
  1. String path
)

Updates the current path and notifies listeners.

Implementation

void updateCurrentPath(String path) {
  state = state.copyWith(currentPath: path);
}