SearchFlowExecutionsResponse.fromJson constructor

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

Implementation

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