replaceParameters method

void replaceParameters(
  1. Object? arguments
)

Implementation

void replaceParameters(Object? arguments) {
  final route = this.route;
  if (route != null) {
    final index = treeBranch.indexOf(route);
    treeBranch[index] = route.copy(parameters: parameters);
  }
}