copyWith method

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

Implementation

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