ListMailboxExportJobsResponse.fromJson constructor

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

Implementation

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