SiteMap class

SiteMap is used to add web pages containing the relevant content to the DataSource in the cloud which can be later used for referencing. SiteMap object takes the xml link as input which contains the references of all the web pages that you need for referencing.

Example:

final siteMapUrl = 'https://sitemaps.example.com/sitemap-example-com.xml';
final siteMapObject = WebDataObject.fromSiteMap(siteMapUrl);
Inheritance

Constructors

SiteMap(String xml)
Creates a new SiteMap object.

Properties

hashCode int
The hash code for this object.
no setterinherited
minCliVersion String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xml String
xml link that contains the link of all the web pages of the domain which are relevant to agent and can be used for referencing.
final

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
override
toString() String
A string representation of this object.
inherited

Operators

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