readAsBytes method

Future<List<int>> readAsBytes()

Reads the resource content as a single list of bytes.

Implementation

Future<List<int>> readAsBytes() async {
  var uri = await uriResolved;
  return _loader.readAsBytes(uri);
}