process method
Internal method used by dash_agent to convert the shared DataSource
to json
format that can be sent on the web
Note: Ideally, this method is not supposed to be overriden by the child objects and should not be altered. It is called automatically by the framework.
Implementation
@override
Future<Map<String, dynamic>> process() async {
final objectType = deepCrawl ? 'deep_crawl_page' : 'web_page';
return {
'id': hashCode.toString(),
'type': objectType,
'url': url,
'version': minCliVersion
};
}