BatchDescribeSimulationJobResponse.fromJson constructor

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

Implementation

factory BatchDescribeSimulationJobResponse.fromJson(
    Map<String, dynamic> json) {
  return BatchDescribeSimulationJobResponse(
    jobs: (json['jobs'] as List?)
        ?.whereNotNull()
        .map((e) => SimulationJob.fromJson(e as Map<String, dynamic>))
        .toList(),
    unprocessedJobs: (json['unprocessedJobs'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}