Map<String, dynamic> toJson() { final dataId = this.dataId; final negated = this.negated; final type = this.type; return { 'DataId': dataId, 'Negated': negated, 'Type': type.toValue(), }; }