Map<String, dynamic> toJson() { final condition = this.condition; final name = this.name; final values = this.values; return { 'condition': condition, 'name': name, 'values': values, }; }