WorkflowReadRequest.fromJson constructor
Implementation
factory WorkflowReadRequest.fromJson(Map<String, Object?> json) {
return WorkflowReadRequest(
projectAndIssueTypes: (json[r'projectAndIssueTypes'] as List<Object?>?)
?.map((i) => ProjectAndIssueTypePair.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
workflowIds: (json[r'workflowIds'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
workflowNames: (json[r'workflowNames'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
);
}