toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sqlQuery = this.sqlQuery;
  final filters = this.filters;
  return {
    'sqlQuery': sqlQuery,
    if (filters != null) 'filters': filters,
  };
}