toJson method
Implementation
Map<String, dynamic> toJson() {
final crawlState = this.crawlState;
final crawlerName = this.crawlerName;
final jobName = this.jobName;
final logicalOperator = this.logicalOperator;
final state = this.state;
return {
if (crawlState != null) 'CrawlState': crawlState.toValue(),
if (crawlerName != null) 'CrawlerName': crawlerName,
if (jobName != null) 'JobName': jobName,
if (logicalOperator != null) 'LogicalOperator': logicalOperator.toValue(),
if (state != null) 'State': state.toValue(),
};
}