ListWorkflowsResponse.fromJson constructor

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

Implementation

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