build method
Builds the filter formula by combining all added clauses.
Implementation
String build() {
if (_clauses.isEmpty) {
throw Exception('No conditions have been added to the query.');
}
return _clauses.length == 1
? _clauses.first
: "AND(${_clauses.join(', ')})";
}