toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var description = this.description;
  var helpText = this.helpText;
  var issueTypeId = this.issueTypeId;
  var name = this.name;

  final json = <String, Object?>{};
  if (description != null) {
    json[r'description'] = description;
  }
  if (helpText != null) {
    json[r'helpText'] = helpText;
  }
  if (issueTypeId != null) {
    json[r'issueTypeId'] = issueTypeId;
  }
  if (name != null) {
    json[r'name'] = name;
  }
  return json;
}