copyWith method

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

Implementation

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