Crawl.fromJson constructor
Implementation
factory Crawl.fromJson(Map<String, dynamic> json) {
return Crawl(
completedOn: timeStampFromJson(json['CompletedOn']),
errorMessage: json['ErrorMessage'] as String?,
logGroup: json['LogGroup'] as String?,
logStream: json['LogStream'] as String?,
startedOn: timeStampFromJson(json['StartedOn']),
state: (json['State'] as String?)?.toCrawlState(),
);
}