ListExperimentsResponse.fromJson constructor

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

Implementation

factory ListExperimentsResponse.fromJson(Map<String, dynamic> json) {
  return ListExperimentsResponse(
    experimentSummaries: (json['ExperimentSummaries'] as List?)
        ?.whereNotNull()
        .map((e) => ExperimentSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}