toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'text'] = this.text;
  if (this.contextFilter != null) {
    json[r'context_filter'] = this.contextFilter;
  } else {
    json[r'context_filter'] = null;
  }
    json[r'limit'] = this.limit;
    json[r'prev_next_chunks'] = this.prevNextChunks;
  return json;
}