toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'filter_conditions'] = this.filterConditions;
    json[r'id'] = this.id;
  if (this.limit != null) {
    json[r'limit'] = this.limit;
  } else {
    json[r'limit'] = null;
  }
  if (this.next != null) {
    json[r'next'] = this.next;
  } else {
    json[r'next'] = null;
  }
  if (this.prev != null) {
    json[r'prev'] = this.prev;
  } else {
    json[r'prev'] = null;
  }
    json[r'sort'] = this.sort;
    json[r'type'] = this.type;
  return json;
}