readBytes function

Future<Uint8List> readBytes(
  1. Uri url, {
  2. Map<String, String>? headers,
})

Implementation

Future<Uint8List> readBytes(Uri url, {Map<String, String>? headers}) async {
  var client = Client();
  return client.readBytes(url, headers: headers);
}