toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var events = this.events;
  var expirationDate = this.expirationDate;
  var fieldIdsFilter = this.fieldIdsFilter;
  var id = this.id;
  var issuePropertyKeysFilter = this.issuePropertyKeysFilter;
  var jqlFilter = this.jqlFilter;

  final json = <String, Object?>{};
  json[r'events'] = events.map((i) => i.value).toList();
  if (expirationDate != null) {
    json[r'expirationDate'] = expirationDate;
  }
  json[r'fieldIdsFilter'] = fieldIdsFilter;
  json[r'id'] = id;
  json[r'issuePropertyKeysFilter'] = issuePropertyKeysFilter;
  json[r'jqlFilter'] = jqlFilter;
  return json;
}