UrlData copyWith(Iterable<String> segments) { return UrlData( segments: segments, queryParams: queryParams, states: states, ); }