bucket method
Creates a new BucketManager object for the specified bucket.
Buckets are the basic containers that hold your application data (i.e., files). Everything that you store in your app storage must be contained in a bucket. You can use buckets to organize your data and control access to your data, but unlike directories and folders, you cannot nest buckets.
Altogic automatically provides a default root
bucket where you can
store your files. You can pretty much do everthing with the root
bucket that you can do with a normal bucket except you cannot delete or
rename it.
nameOrId
The name or id of the bucket.
Returns a new BucketManager object that will be used for managing the bucket
Implementation
BucketManager bucket(String nameOrId) => BucketManager(nameOrId, _fetcher);