BucketOptions class

public 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. By default, buckets are private.

fileSizeLimit specifies the file size limit that this bucket can accept during upload. It should be in a format such as 20GB, 20MB, 30KB, or 3B

allowedMimeTypes specifies the allowed mime types that this bucket can accept during upload

Constructors

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

Properties

allowedMimeTypes List<String>?
final
fileSizeLimit String?
final
hashCode int
The hash code for this object.
no setterinherited
public bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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