AlgorithmStatusDetails.fromJson constructor

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

Implementation

factory AlgorithmStatusDetails.fromJson(Map<String, dynamic> json) {
  return AlgorithmStatusDetails(
    imageScanStatuses: (json['ImageScanStatuses'] as List?)
        ?.whereNotNull()
        .map((e) => AlgorithmStatusItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    validationStatuses: (json['ValidationStatuses'] as List?)
        ?.whereNotNull()
        .map((e) => AlgorithmStatusItem.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}