When using the flutter http package and calling the remote data, I am able to get the data and render it on Android and iOS (Mobile). But when the same code is run on Web (-d chrome), it gives "Unsupported operation: Platform._version" error. Can anyone let me know, is there anything that I am missing out?
I am using HttpClient object and calling the url using client.getUrl() method. It doesnt seem like getting the response on the Web.