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({
71
71
projectId: projectId,
72
72
branchName: branchName,
73
73
exportAsModule: exportAsModule,
74
+ includeAssets: includeAssets,
74
75
);
75
76
// Download actual code
76
77
final projectZipBytes = base64Decode (result['project_zip' ]);
@@ -141,6 +142,7 @@ Future<dynamic> _callExport({
141
142
required String projectId,
142
143
String ? branchName,
143
144
required bool exportAsModule,
145
+ required bool includeAssets,
144
146
}) async {
145
147
final body = jsonEncode ({
146
148
'project' : {
@@ -149,6 +151,7 @@ Future<dynamic> _callExport({
149
151
'token' : token,
150
152
if (branchName != null ) 'branch_name' : branchName,
151
153
'export_as_module' : exportAsModule,
154
+ 'include_assets_map' : includeAssets,
152
155
});
153
156
final response = await client.post (
154
157
Uri .https (endpoint.host, '${endpoint .path }/exportCode' ),
You can’t perform that action at this time.
0 commit comments