Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The argument type 'String' can't be assigned to the parameter type 'Uri' #59

Open
drsimplegraffiti opened this issue Jun 27, 2022 · 2 comments

Comments

@drsimplegraffiti
Copy link

String url ='https://jsonplaceholder.typicode.com/posts/1';

Response response = await get(Uri.parse(url));

The above snippet worked

@skippersprint
Copy link

Yeah, same worked for me!

@FavourTy
Copy link

FavourTy commented Oct 7, 2022

it worked for me too!
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants