LastCrawlInfo.fromJson constructor

LastCrawlInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LastCrawlInfo.fromJson(Map<String, dynamic> json) {
  return LastCrawlInfo(
    errorMessage: json['ErrorMessage'] as String?,
    logGroup: json['LogGroup'] as String?,
    logStream: json['LogStream'] as String?,
    messagePrefix: json['MessagePrefix'] as String?,
    startTime: timeStampFromJson(json['StartTime']),
    status: (json['Status'] as String?)?.toLastCrawlStatus(),
  );
}