toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'userId'] = this.userId;
    json[r'tenantId'] = this.tenantId;
  if (this.filters != null) {
    json[r'filters'] = this.filters;
  } else {
    json[r'filters'] = null;
  }
  if (this.searchFilters != null) {
    json[r'searchFilters'] = this.searchFilters;
  } else {
    json[r'searchFilters'] = null;
  }
  if (this.textSearch != null) {
    json[r'textSearch'] = this.textSearch;
  } else {
    json[r'textSearch'] = null;
  }
  return json;
}