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