Map<String, dynamic> toJson() { return {'key': key, 'value': value, 'filteringId': filteringId.toJson()}; }