loadFullURL method
Loads the webpage URL into response object without requiring the two-step process of base + route. Unlike the the two-step process, the URL is NOT validated before being requested.
Implementation
Future<bool> loadFullURL(String page) async {
var client = Client();
try {
var _response = await client.get(Uri.parse(page));
// Calculating Time Elapsed using timer from dart:core.
// Parses the response body once it's retrieved to be used on the other methods.
_document = parse(_response.body);
} catch (e) {
throw WebScraperException(e.toString());
}
return true;
}