GetExecutionHistoryOutput.fromJson constructor

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

Implementation

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