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