storageUsage static method

int storageUsage({
  1. UStorageBucket? bucket,
})

Bytes used by one bucket or all. UFile.storageUsage().toBKMG()

Implementation

static int storageUsage({UStorageBucket? bucket}) => UFileStorage.usage(bucket: bucket);