readBytesWithHref method
Returns the resource data at the given href
, or throws a Resource.Exception
Implementation
Future<ByteData> readBytesWithHref(String href) => getWithHref(href)
.use((it) => it.read().then((data) => data.getOrThrow()));