readBytes method

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

Implementation

Future<Uint8List> readBytes(url, {Map<String, String>? headers}) =>
    _withClient((client) => client.readBytes(url, headers: headers));