webObjects property
List<WebDataObject>
get
webObjects
List of WebDataObjects that can be used to pass data from web pages or all the web pages of a domain (via passing xml file for the domain).
Currently supported WebDataObject:
WebPage
- Pass the data by providing the url of web page that contain the relevant data. You can useWebDataObject.fromWebPage
to create WebPageSiteMap
- Pass the data by providing the site map url of the domain contain the relevant data. You can useWebDataObject.fromSiteMap
to create SiteMapGitHub
- Pass the repo data by providing github repo url along with optional code and issue filter to extract specific data. You can useWebDataObject.fromGithub
to create Github
Example:
@override
List<WebDataObject> get webObjects =>
[WebDataObject.fromWebPage('https://sampleurl.com'),
WebDataObject.fromSiteMap('https://sitemaps.example.com/sitemap-example-com.xml'),
WebDataObject.fromGithub('https://github.com/user/repo', '<personal access token>')
];
Implementation
List<WebDataObject> get webObjects;