as of now it's converted to parse with dynamic return type. Reason for this is that we merge both declarations and since UrlWithParsedQuery | Url and it resolved to dynamic.
Suggestion is to resolve to common ancestor which in this particular case is Url.
Consider following code:
as of now it's converted to parse with dynamic return type. Reason for this is that we merge both declarations and since UrlWithParsedQuery | Url and it resolved to dynamic.
Suggestion is to resolve to common ancestor which in this particular case is Url.