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