Condition.fromJson constructor
Implementation
factory Condition.fromJson(Map<String, dynamic> json) {
return Condition(
crawlState: (json['CrawlState'] as String?)?.toCrawlState(),
crawlerName: json['CrawlerName'] as String?,
jobName: json['JobName'] as String?,
logicalOperator:
(json['LogicalOperator'] as String?)?.toLogicalOperator(),
state: (json['State'] as String?)?.toJobRunState(),
);
}