Created
September 5, 2019 17:22
-
-
Save Vanethos/7ba8c8da63bf16b693ce7bb590fc7f66 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
Dio createDio() { | |
return Dio( | |
BaseOptions( | |
connectTimeout: 5000, | |
receiveTimeout: 5000, | |
baseUrl: "https://some-website.com" | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment