toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final operator = this.operator;
final value = this.value;
return {
if (name != null) 'Name': name.toValue(),
if (operator != null) 'Operator': operator.toValue(),
if (value != null) 'Value': value,
};
}