@@ -51,14 +51,14 @@ class Avatars extends Service {
5151 };
5252
5353 Uri endpoint = Uri .parse (client.endPoint);
54- Uri url = new Uri (scheme: endpoint.scheme,
54+ Uri location = new Uri (scheme: endpoint.scheme,
5555 host: endpoint.host,
5656 port: endpoint.port,
5757 path: endpoint.path + path,
5858 queryParameters: params,
5959 );
6060
61- return url .toString ();
61+ return location .toString ();
6262 }
6363
6464 /// Get Favicon
@@ -75,14 +75,14 @@ class Avatars extends Service {
7575 };
7676
7777 Uri endpoint = Uri .parse (client.endPoint);
78- Uri url = new Uri (scheme: endpoint.scheme,
78+ Uri location = new Uri (scheme: endpoint.scheme,
7979 host: endpoint.host,
8080 port: endpoint.port,
8181 path: endpoint.path + path,
8282 queryParameters: params,
8383 );
8484
85- return url .toString ();
85+ return location .toString ();
8686 }
8787
8888 /// Get Country Flag
@@ -102,14 +102,14 @@ class Avatars extends Service {
102102 };
103103
104104 Uri endpoint = Uri .parse (client.endPoint);
105- Uri url = new Uri (scheme: endpoint.scheme,
105+ Uri location = new Uri (scheme: endpoint.scheme,
106106 host: endpoint.host,
107107 port: endpoint.port,
108108 path: endpoint.path + path,
109109 queryParameters: params,
110110 );
111111
112- return url .toString ();
112+ return location .toString ();
113113 }
114114
115115 /// Get Image from URL
@@ -130,14 +130,14 @@ class Avatars extends Service {
130130 };
131131
132132 Uri endpoint = Uri .parse (client.endPoint);
133- Uri url = new Uri (scheme: endpoint.scheme,
133+ Uri location = new Uri (scheme: endpoint.scheme,
134134 host: endpoint.host,
135135 port: endpoint.port,
136136 path: endpoint.path + path,
137137 queryParameters: params,
138138 );
139139
140- return url .toString ();
140+ return location .toString ();
141141 }
142142
143143 /// Get QR Code
@@ -157,13 +157,13 @@ class Avatars extends Service {
157157 };
158158
159159 Uri endpoint = Uri .parse (client.endPoint);
160- Uri url = new Uri (scheme: endpoint.scheme,
160+ Uri location = new Uri (scheme: endpoint.scheme,
161161 host: endpoint.host,
162162 port: endpoint.port,
163163 path: endpoint.path + path,
164164 queryParameters: params,
165165 );
166166
167- return url .toString ();
167+ return location .toString ();
168168 }
169169}
0 commit comments