replaceArguments method

void replaceArguments(
  1. Object? arguments
)

Implementation

void replaceArguments(Object? arguments) {
  final newRoute = route;
  if (newRoute != null) {
    final index = currentTreeBranch.indexOf(newRoute);
    currentTreeBranch[index] = newRoute.copyWith(arguments: arguments);
  }
}