WorkflowExecutionInfos.fromJson constructor

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

Implementation

factory WorkflowExecutionInfos.fromJson(Map<String, dynamic> json) {
  return WorkflowExecutionInfos(
    executionInfos: (json['executionInfos'] as List)
        .whereNotNull()
        .map((e) => WorkflowExecutionInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextPageToken: json['nextPageToken'] as String?,
  );
}