copyWith method

Routing copyWith({
  1. Routing? route,
})

Implementation

Routing copyWith({Routing? route}) {
  return Routing(
    current: route?.current ?? this.current,
    previous: route?.previous ?? this.previous,
    args: route?.args ?? this.args,
    removed: route?.removed ?? this.removed,
    route: route?.route ?? this.route,
    isBack: route?.isBack ?? this.isBack,
    isBottomSheet: route?.isBottomSheet ?? this.isBottomSheet,
    isDialog: route?.isDialog ?? this.isDialog,
  );
}