copyWith method

ArgumentsWrapper copyWith({
  1. NyArgument? baseArguments,
  2. NyQueryParameters? queryParameters,
  3. PageTransitionType? pageTransitionType,
})

Implementation

ArgumentsWrapper copyWith(
    {NyArgument? baseArguments,
    NyQueryParameters? queryParameters,
    PageTransitionType? pageTransitionType}) {
  return ArgumentsWrapper(
      baseArguments: baseArguments ?? this.baseArguments,
      queryParameters: queryParameters ?? this.queryParameters,
      pageTransitionSettings:
          pageTransitionSettings ?? pageTransitionSettings,
      prefix: prefix,
      pageTransitionType: pageTransitionType ?? this.pageTransitionType);
}