@override Object toJson() { return { if (dynamicRetrievalConfig != null) 'dynamicRetrievalConfig': dynamicRetrievalConfig!.toJson(), }; }