WorkflowUpdateRequest.fromJson constructor
Implementation
factory WorkflowUpdateRequest.fromJson(Map<String, Object?> json) {
return WorkflowUpdateRequest(
statuses: (json[r'statuses'] as List<Object?>?)
?.map((i) => WorkflowStatusUpdate.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
workflows: (json[r'workflows'] as List<Object?>?)
?.map((i) => WorkflowUpdate.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}