Is there an easy way to do this with dart:io
?
I've looked into HttpClient and HttpServer, but I haven't managed to create a function that can take a URL and return a String of the website's markup.
String getHtml(String URL) {
...
}
Can anyone point me in the right direction as to what API to use for this?