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