WebPageContent.from constructor
WebPageContent.from({})
Implementation
WebPageContent.from({required Uri? url, required String? html,
required String title, TransportableFile? icon, String? desc,})
: super.fromType(ContentType.PAGE) {
// URL or HTML
this.url = url;
this.html = html;
// title, icon, description
this.title = title;
this.desc = desc;
this.icon = icon;
}