getStorageBytes method

Future<Uint8List> getStorageBytes(
  1. String uuid
)

透過 UUID 取得檔案儲存的位元

Implementation

Future<Uint8List> getStorageBytes(String uuid) async {
  APIHttpResponse response = await httpClient.get(
    'storage/$uuid/download',
  );

  return response.bytes;
}