ListIngestionsResponse.fromJson constructor

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

Implementation

factory ListIngestionsResponse.fromJson(Map<String, dynamic> json) {
  return ListIngestionsResponse(
    ingestions: (json['Ingestions'] as List?)
        ?.whereNotNull()
        .map((e) => Ingestion.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
    requestId: json['RequestId'] as String?,
  );
}