Skip to content

Instantly share code, notes, and snippets.

@saileshbro
Last active December 8, 2022 08:22
Show Gist options
  • Save saileshbro/989190e25969e8ead92af8e733ff8f4b to your computer and use it in GitHub Desktop.
Save saileshbro/989190e25969e8ead92af8e733ff8f4b to your computer and use it in GitHub Desktop.
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