Created
October 20, 2019 12:47
-
-
Save luizmarcus/40f076c54c6c1074e0c099129ac4a461 to your computer and use it in GitHub Desktop.
This file contains 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 characters
@override | |
void initState() { | |
super.initState(); | |
BaseOptions options = new BaseOptions( | |
baseUrl: "https://reqres.in/api", | |
connectTimeout: 5000, | |
); | |
dio = new Dio(options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment