PollForThirdPartyJobsOutput.fromJson constructor

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

Implementation

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