Created
June 8, 2022 12:10
Revisions
-
M97Chahboun created this gist
Jun 8, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ // Set it in first screen const String baseUrl = 'https://jsonplaceholder.typicode.com'; // create request object RocketRequest request = RocketRequest(url: baseUrl); // save it, for use it from any screen rocket.add(rocketRequestKey, request);