Serializes this instance to a JSON object.
@override Map<String, dynamic> toJson() => { if (_condition != null) 'condition': _getCondition(), 'operations': _ops.map((o) => o.toJson()).toList(), };