Open
Description
I read https://github.com/dart-lang/language/blob/main/working/union-types/nominative-union-types.md, and see the proposed syntax is something like:
typedef UrlThingy = Url | String;
Future<Response> get(UrlThingy url) async {
...
}
Could we just do:
Future<Response> get(Url | String url) async {
...
}