buildUrl method
Implementation
String buildUrl() {
final params = <String, String>{};
if (apiKey != null) {
params['key'] = apiKey!;
}
return url.replace(queryParameters: params).toString();
}
String buildUrl() {
final params = <String, String>{};
if (apiKey != null) {
params['key'] = apiKey!;
}
return url.replace(queryParameters: params).toString();
}