toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var rankBeforeEpic = this.rankBeforeEpic;
  var rankAfterEpic = this.rankAfterEpic;
  var rankCustomFieldId = this.rankCustomFieldId;

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