BucketOptions class

Options for StorageBucketApi.createBucket and StorageBucketApi.updateBucket.

An option left as null is not sent, so StorageBucketApi.updateBucket leaves that setting of the bucket as it is.

Constructors

BucketOptions({bool? public, int? fileSizeLimit, List<String>? allowedMimeTypes, VersioningStatus? versioningStatus})
const

Properties

allowedMimeTypes → List<String>?
The allowed mime types that this bucket can accept during upload.
final
fileSizeLimit → int?
The maximum size, in bytes, an uploaded object may be.
final
hashCode → int
The hash code for this object.
no setterinherited
public → bool?
The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. A bucket created without it is private.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
versioningStatus → VersioningStatus?
Whether the bucket keeps previous versions of its objects.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited