File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 11library flutterflow_cli;
2+
3+ export 'package:flutterflow_cli/src/flutterflow_cli_base.dart' ;
Original file line number Diff line number Diff line change @@ -7,7 +7,24 @@ import 'package:path/path.dart' as path_util;
77
88const kDefaultEndpoint = 'https://api.flutterflow.io/v1' ;
99
10+ /// The `FlutterFlowApi` class provides methods for exporting code from a
11+ /// FlutterFlow project.
1012class FlutterFlowApi {
13+ /// Exports the code from a FlutterFlow project.
14+ ///
15+ /// * [token] is the FlutterFlow API token for accessing the project.
16+ /// * [projectId] is the ID of the project to export.
17+ /// * [destinationPath] is the path where the exported code will be saved.
18+ /// * [includeAssets] flag indicates whether to include project assets
19+ /// in the export.
20+ /// * [endpoint] is the API endpoint to use for exporting the code.
21+ /// * [branchName] is the name of the branch to export from (optional).
22+ /// * [unzipToParentFolder] flag indicates whether to unzip the exported code
23+ /// to the parent folder.
24+ /// * [fix] flag indicates whether to fix any issues in the exported code.
25+ ///
26+ /// Returns a [Future] that completes with the path to the exported code, or
27+ /// throws an error if the export fails.
1128 static Future <String ?> export ({
1229 required String token,
1330 required String projectId,
You can’t perform that action at this time.
0 commit comments