File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Future<String?> exportCode({
7171 projectId: projectId,
7272 branchName: branchName,
7373 exportAsModule: exportAsModule,
74+ includeAssets: includeAssets,
7475 );
7576 // Download actual code
7677 final projectZipBytes = base64Decode (result['project_zip' ]);
@@ -141,6 +142,7 @@ Future<dynamic> _callExport({
141142 required String projectId,
142143 String ? branchName,
143144 required bool exportAsModule,
145+ required bool includeAssets,
144146}) async {
145147 final body = jsonEncode ({
146148 'project' : {
@@ -149,6 +151,7 @@ Future<dynamic> _callExport({
149151 'token' : token,
150152 if (branchName != null ) 'branch_name' : branchName,
151153 'export_as_module' : exportAsModule,
154+ 'include_assets_map' : includeAssets,
152155 });
153156 final response = await client.post (
154157 Uri .https (endpoint.host, '${endpoint .path }/exportCode' ),
You can’t perform that action at this time.
0 commit comments