blobStorage method

BlobStorage blobStorage(
  1. String name, {
  2. int chunksSize = 1024 * 512,
  3. bool? encrypt,
  4. String? secretKey,
})

Implementation

BlobStorage blobStorage(
  String name, {
  int chunksSize = 1024 * 512,
  bool? encrypt,
  String? secretKey,
}) {
  return _blobStorages.putIfAbsent(
    name,
    () => BlobStorage(
      name: name,
      path: "$path/blobs/$name",
      chunksSize: chunksSize,
      encrypted: _encrypted,
    ),
  );
}