toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var attachmentsEnabled = this.attachmentsEnabled;
  var issueLinkingEnabled = this.issueLinkingEnabled;
  var subTasksEnabled = this.subTasksEnabled;
  var timeTrackingConfiguration = this.timeTrackingConfiguration;
  var timeTrackingEnabled = this.timeTrackingEnabled;
  var unassignedIssuesAllowed = this.unassignedIssuesAllowed;
  var votingEnabled = this.votingEnabled;
  var watchingEnabled = this.watchingEnabled;

  final json = <String, Object?>{};
  json[r'attachmentsEnabled'] = attachmentsEnabled;
  json[r'issueLinkingEnabled'] = issueLinkingEnabled;
  json[r'subTasksEnabled'] = subTasksEnabled;
  if (timeTrackingConfiguration != null) {
    json[r'timeTrackingConfiguration'] = timeTrackingConfiguration.toJson();
  }
  json[r'timeTrackingEnabled'] = timeTrackingEnabled;
  json[r'unassignedIssuesAllowed'] = unassignedIssuesAllowed;
  json[r'votingEnabled'] = votingEnabled;
  json[r'watchingEnabled'] = watchingEnabled;
  return json;
}