@override UrlData toUrl() { final result = UrlData(segments: [value.name]); if (next case final next?) { return result.followedBy(next.toUrl()); } return result; }