ListExecutionsOutput.fromJson constructor

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

Implementation

factory ListExecutionsOutput.fromJson(Map<String, dynamic> json) {
  return ListExecutionsOutput(
    executions: (json['executions'] as List)
        .whereNotNull()
        .map((e) => ExecutionListItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}