toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'terms'] = terms;
  _json[r'is_or_search'] = isOrSearch;
  _json[r'time_zone_offset'] = timeZoneOffset;
  if (includeDeletedChannels != null) {
    _json[r'include_deleted_channels'] = includeDeletedChannels;
  }
  _json[r'page'] = page;
  _json[r'per_page'] = perPage;
  return _json;
}