ListRestoreJobsOutput.fromJson constructor

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

Implementation

factory ListRestoreJobsOutput.fromJson(Map<String, dynamic> json) {
  return ListRestoreJobsOutput(
    nextToken: json['NextToken'] as String?,
    restoreJobs: (json['RestoreJobs'] as List?)
        ?.whereNotNull()
        .map((e) => RestoreJobsListMember.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}