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