orGroup method
Add a named OR group condition using or:groupname prefix
Example: .orGroup('tier', 'isPremium', true).orGroup('tier', 'isVerified', true)
Results in: or:tierisPremium=true&or:tierisVerified=true
Implementation
QueryBuilder orGroup(String groupName, String field, dynamic value) {
if (!_namedOrGroups.containsKey(groupName)) {
_namedOrGroups[groupName] = [];
}
_namedOrGroups[groupName]!.add({field: value});
return this;
}