copyWith method
Implementation
UrlState copyWith({
List<RouteMatch>? segments,
Uri? uri,
bool? replace,
}) {
return UrlState(
uri ?? this.uri,
segments ?? this.segments,
shouldReplace: replace ?? shouldReplace,
);
}
UrlState copyWith({
List<RouteMatch>? segments,
Uri? uri,
bool? replace,
}) {
return UrlState(
uri ?? this.uri,
segments ?? this.segments,
shouldReplace: replace ?? shouldReplace,
);
}