toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var attributes = this.attributes;
  var boardId = this.boardId;
  var boardName = this.boardName;
  var projectKey = this.projectKey;
  var projectType = this.projectType;
  var queueCategory = this.queueCategory;
  var queueId = this.queueId;
  var queueName = this.queueName;
  var simpleBoard = this.simpleBoard;
  var simplified = this.simplified;
  var url = this.url;

  final json = <String, Object?>{};
  if (attributes != null) {
    json[r'attributes'] = attributes;
  }
  if (boardId != null) {
    json[r'boardId'] = boardId;
  }
  if (boardName != null) {
    json[r'boardName'] = boardName;
  }
  if (projectKey != null) {
    json[r'projectKey'] = projectKey;
  }
  if (projectType != null) {
    json[r'projectType'] = projectType;
  }
  if (queueCategory != null) {
    json[r'queueCategory'] = queueCategory;
  }
  if (queueId != null) {
    json[r'queueId'] = queueId;
  }
  if (queueName != null) {
    json[r'queueName'] = queueName;
  }
  json[r'simpleBoard'] = simpleBoard;
  json[r'simplified'] = simplified;
  if (url != null) {
    json[r'url'] = url;
  }
  return json;
}