getBlob abstract method

Future<BlobResponse> getBlob({
  1. required String sha256,
  2. required List<String> serverUrls,
  3. Nip01Event? authorization,
  4. int? start,
  5. int? end,
})

Gets a blob by trying servers sequentially until success If authorization is null, the server must be public If start and end are null, the entire blob is returned start and end are used to download a range of bytes, @see MDN HTTP range requests

Implementation

Future<BlobResponse> getBlob({
  required String sha256,
  required List<String> serverUrls,
  Nip01Event? authorization,
  int? start,
  int? end,
});