fromWebPage static method
static method to create and return WebPage. It takes url
of web page as
an argument
Example:
final webUrl = 'https://sampleurl.com';
final webPageObject = WebDataObject.fromWebPage(webUrl);
Implementation
static WebPage fromWebPage(String url) {
return WebPage(url);
}