ListUserImportJobsResponse.fromJson constructor

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

Implementation

factory ListUserImportJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListUserImportJobsResponse(
    paginationToken: json['PaginationToken'] as String?,
    userImportJobs: (json['UserImportJobs'] as List?)
        ?.whereNotNull()
        .map((e) => UserImportJobType.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}