TrialComponentSourceDetail.fromJson constructor

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

Implementation

factory TrialComponentSourceDetail.fromJson(Map<String, dynamic> json) {
  return TrialComponentSourceDetail(
    processingJob: json['ProcessingJob'] != null
        ? ProcessingJob.fromJson(
            json['ProcessingJob'] as Map<String, dynamic>)
        : null,
    sourceArn: json['SourceArn'] as String?,
    trainingJob: json['TrainingJob'] != null
        ? TrainingJob.fromJson(json['TrainingJob'] as Map<String, dynamic>)
        : null,
    transformJob: json['TransformJob'] != null
        ? TransformJob.fromJson(json['TransformJob'] as Map<String, dynamic>)
        : null,
  );
}