toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var issues = this.issues;
  var rankBeforeIssue = this.rankBeforeIssue;
  var rankAfterIssue = this.rankAfterIssue;
  var rankCustomFieldId = this.rankCustomFieldId;

  final json = <String, Object?>{};
  json[r'issues'] = issues;
  if (rankBeforeIssue != null) {
    json[r'rankBeforeIssue'] = rankBeforeIssue;
  }
  if (rankAfterIssue != null) {
    json[r'rankAfterIssue'] = rankAfterIssue;
  }
  if (rankCustomFieldId != null) {
    json[r'rankCustomFieldId'] = rankCustomFieldId;
  }
  return json;
}