ImportJobsResponse.fromJson constructor

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

Implementation

factory ImportJobsResponse.fromJson(Map<String, dynamic> json) {
  return ImportJobsResponse(
    item: (json['Item'] as List)
        .whereNotNull()
        .map((e) => ImportJobResponse.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}