ListTrialComponentsResponse.fromJson constructor
Implementation
factory ListTrialComponentsResponse.fromJson(Map<String, dynamic> json) {
return ListTrialComponentsResponse(
nextToken: json['NextToken'] as String?,
trialComponentSummaries: (json['TrialComponentSummaries'] as List?)
?.whereNotNull()
.map((e) => TrialComponentSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}