WebDataObject class abstract

Base class for adding data to DataSource from the web pages

This class should not be directly used to add data as this is a abstract class. Instead its derivative classes should be used: WebPage, SiteMap

Implementers

Constructors

WebDataObject()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
minCliVersion String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() Future<Map<String, dynamic>>
Internal method used by dash_agent to convert the shared DataSource to json format that can be sent on the web
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromGithub(String url, String accessToken, {CodeFilter? codeFilter, IssueFilter? issueFilter, List<GithubExtract> extractOnly = const [GithubExtract.code]}) Github
static method to create and return Github. It takes a GitHub repository url as input and optionally accepts CodeFilter, IssueFilter, and GithubExtract objects.
fromSiteMap(String xml) SiteMap
static method to create and return SiteMap. It takes xml as an argument which will contain the url of the relevant of web pages that we need to save as reference.
fromWebPage(String url, {bool deepCrawl = false}) WebPage
static method to create and return WebPage. It takes url of web page as an argument. Additionally, you can provide deepCrawl argument. If deepCrawl set to true. It will crawl the whole website of the shared url and index all of the pages in it.