ListTaskExecutionsResponse.fromJson constructor

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

Implementation

factory ListTaskExecutionsResponse.fromJson(Map<String, dynamic> json) {
  return ListTaskExecutionsResponse(
    nextToken: json['NextToken'] as String?,
    taskExecutions: (json['TaskExecutions'] as List?)
        ?.whereNotNull()
        .map(
            (e) => TaskExecutionListEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}