toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var id = this.id;
  var boardId = this.boardId;
  var name = this.name;
  var jql = this.jql;
  var description = this.description;
  var position = this.position;

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