TrialComponentSimpleSummary.fromJson constructor
TrialComponentSimpleSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TrialComponentSimpleSummary.fromJson(Map<String, dynamic> json) {
return TrialComponentSimpleSummary(
createdBy: json['CreatedBy'] != null
? UserContext.fromJson(json['CreatedBy'] as Map<String, dynamic>)
: null,
creationTime: timeStampFromJson(json['CreationTime']),
trialComponentArn: json['TrialComponentArn'] as String?,
trialComponentName: json['TrialComponentName'] as String?,
trialComponentSource: json['TrialComponentSource'] != null
? TrialComponentSource.fromJson(
json['TrialComponentSource'] as Map<String, dynamic>)
: null,
);
}