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