toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final operator = this.operator;
final values = this.values;
return {
'Name': name.toValue(),
'Operator': operator.toValue(),
'Values': values,
};
}