toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var projectAndIssueTypes = this.projectAndIssueTypes;
  var workflowIds = this.workflowIds;
  var workflowNames = this.workflowNames;

  final json = <String, Object?>{};
  json[r'projectAndIssueTypes'] =
      projectAndIssueTypes.map((i) => i.toJson()).toList();
  json[r'workflowIds'] = workflowIds;
  json[r'workflowNames'] = workflowNames;
  return json;
}