adjust method
Implementation
AppRouteConfig adjust(AppRouteConfig config) {
return AppRouteConfig(
allowSnapshotting: config.allowSnapshotting ?? allowSnapshotting,
animationCurve: config.animationCurve ?? animationCurve,
animationTime: config.animationTime ?? animationTime,
animationReserveTime: config.animationReserveTime ?? animationReserveTime,
animationType: config.animationType ?? animationType,
barrierColor: config.barrierColor ?? barrierColor,
barrierDismissible: config.barrierDismissible ?? barrierDismissible,
barrierLabel: config.barrierLabel ?? barrierLabel,
fullscreenDialog: config.fullscreenDialog ?? fullscreenDialog,
maintainState: config.maintainState ?? maintainState,
opaque: config.opaque ?? opaque,
);
}