File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ void main(List<String> args) async {
5959 exportAsModule: parsedArguments.command! ['as-module' ],
6060 exportAsDebug: parsedArguments.command! ['as-debug' ],
6161 environmentName: parsedArguments.command! ['project-environment' ],
62+ snapshotId: parsedArguments.command! ['snapshot-id' ],
6263 );
6364 break ;
6465 case 'deploy-firebase' :
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ Future<String?> exportCode({
7676 String ? branchName,
7777 String ? environmentName,
7878 String ? commitHash,
79+ String ? snapshotId,
7980 bool exportAsDebug = false ,
8081}) async {
8182 stderr.write ('Downloading code with the FlutterFlow CLI...\n ' );
@@ -97,6 +98,7 @@ Future<String?> exportCode({
9798 branchName: branchName,
9899 environmentName: environmentName,
99100 commitHash: commitHash,
101+ snapshotId: snapshotId,
100102 exportAsModule: exportAsModule,
101103 includeAssets: includeAssets,
102104 format: format,
@@ -173,6 +175,7 @@ Future<dynamic> _callExport({
173175 String ? branchName,
174176 String ? environmentName,
175177 String ? commitHash,
178+ String ? snapshotId,
176179 required bool exportAsModule,
177180 required bool includeAssets,
178181 required bool format,
@@ -187,6 +190,7 @@ Future<dynamic> _callExport({
187190 'include_assets_map' : includeAssets,
188191 'format' : format,
189192 'export_as_debug' : exportAsDebug,
193+ 'snapshot_id' : snapshotId,
190194 });
191195 return await _callEndpoint (
192196 client: client,
You can’t perform that action at this time.
0 commit comments