toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var customFieldId = this.customFieldId;
  var fieldName = this.fieldName;
  var issueCountWithVersionInCustomField =
      this.issueCountWithVersionInCustomField;

  final json = <String, Object?>{};
  if (customFieldId != null) {
    json[r'customFieldId'] = customFieldId;
  }
  if (fieldName != null) {
    json[r'fieldName'] = fieldName;
  }
  if (issueCountWithVersionInCustomField != null) {
    json[r'issueCountWithVersionInCustomField'] =
        issueCountWithVersionInCustomField;
  }
  return json;
}