copyWith method
RouteInfo
copyWith({
- Route? route,
- Optional<
RouteBuildOptions?> ? routeBuildOptions, - bool? external_,
Implementation
RouteInfo copyWith({
Route? route,
Optional<RouteBuildOptions?>? routeBuildOptions,
bool? external_
}) {
return RouteInfo(
route: route ?? this.route,
routeBuildOptions: routeBuildOptions != null ? routeBuildOptions.value : this.routeBuildOptions,
external_: external_ ?? this.external_
);
}