-
-
Save sbis04/73e2c5e6ac0c0220ad76063d8259dd5d 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
initializeDio() { | |
BaseOptions options = BaseOptions( | |
baseUrl: muxServerUrl, | |
connectTimeout: 8000, | |
receiveTimeout: 5000, | |
headers: { | |
"Content-Type": contentType, // application/json | |
}, | |
); | |
_dio = Dio(options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment