toJson method
Creates a Map Object that can be send to the Backend. (Should be json encoded)
Implementation
@override
Map<String, dynamic> toJson() => {
'\$${operator.name}':
conditions.map((condition) => condition.toJson()).toList(),
};