toJson method
Implementation
Map<String, dynamic> toJson() {
final comparisonOperator = this.comparisonOperator;
final comparisonValue = this.comparisonValue;
return {
if (comparisonOperator != null)
'ComparisonOperator': comparisonOperator.toValue(),
if (comparisonValue != null) 'ComparisonValue': comparisonValue,
};
}