toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var issueId = this.issueId;
  var issueKey = this.issueKey;
  var status = this.status;
  var errors = this.errors;

  final json = <String, Object?>{};
  if (issueId != null) {
    json[r'issueId'] = issueId;
  }
  if (issueKey != null) {
    json[r'issueKey'] = issueKey;
  }
  if (status != null) {
    json[r'status'] = status;
  }
  json[r'errors'] = errors;
  return json;
}