ListSimulationJobsResponse.fromJson constructor

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

Implementation

factory ListSimulationJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListSimulationJobsResponse(
    simulationJobSummaries: (json['simulationJobSummaries'] as List)
        .whereNotNull()
        .map((e) => SimulationJobSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}