get method
Performs a GET request with a new Client instance and closes it after it has been used.
Implementation
Future<Response> get(
url, {
Map<String, String>? headers,
Map<String, dynamic>? params,
}) async {
return _withClient((client) => client.get(
url,
headers: headers,
params: params,
));
}