WorkflowCreateResponse.fromJson constructor
Implementation
factory WorkflowCreateResponse.fromJson(Map<String, Object?> json) {
return WorkflowCreateResponse(
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() ??
[],
);
}