ListJobsOutput.fromJson constructor

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

Implementation

factory ListJobsOutput.fromJson(Map<String, dynamic> json) {
  return ListJobsOutput(
    jobList: (json['JobList'] as List?)
        ?.whereNotNull()
        .map((e) => GlacierJobDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    marker: json['Marker'] as String?,
  );
}