Last active
December 8, 2022 08:22
-
-
Save saileshbro/989190e25969e8ead92af8e733ff8f4b 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
void main() { | |
const baseUrl = 'https://weather.com'; | |
const path = '/find'; | |
final uri = Uri.parse(baseUrl + path).replace( | |
queryParameters: { | |
'key': 'value', | |
'q': 'location', | |
'aqi': 'no', | |
}, | |
); | |
print(uri); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment