toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var agent = this.agent;
  var jiraRest = this.jiraRest;
  var self = this.self;
  var web = this.web;

  final json = <String, Object?>{};
  if (agent != null) {
    json[r'agent'] = agent;
  }
  if (jiraRest != null) {
    json[r'jiraRest'] = jiraRest;
  }
  if (self != null) {
    json[r'self'] = self;
  }
  if (web != null) {
    json[r'web'] = web;
  }
  return json;
}