toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var convertedQuery = this.convertedQuery;
  var originalQuery = this.originalQuery;

  final json = <String, Object?>{};
  if (convertedQuery != null) {
    json[r'convertedQuery'] = convertedQuery;
  }
  if (originalQuery != null) {
    json[r'originalQuery'] = originalQuery;
  }
  return json;
}