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