i want to pass login data (ID) from login page to another url (not other class in the same project) in flutter

example :
i want to open "http://mylink.com/test"(example url) but i also want to pass ID from "http://mylink.com/login"(example url)

i tried to use :

```
final _dataID = {"loginid" : "$id"};
final url = Uri.encodeFull('http://mylink.com/test/$_dataID');
html.open.window(url,"test");

```

but it's not working, how to achieve that? thanks