Bucket class

Bucket

Implemented types

Constructors

Bucket({required String $id, required String $createdAt, required String $updatedAt, required List<String> $permissions, required bool fileSecurity, required String name, required bool enabled, required int maximumFileSize, required List<String> allowedFileExtensions, required String compression, required bool encryption, required bool antivirus, required bool transformations, required int totalSize})
Bucket.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt → String
Bucket creation time in ISO 8601 format.
final
$id → String
Bucket ID.
final
$permissions → List<String>
Bucket permissions. Learn more about permissions.
final
$updatedAt → String
Bucket update date in ISO 8601 format.
final
allowedFileExtensions → List<String>
Allowed file extensions.
final
antivirus → bool
Virus scanning is enabled.
final
compression → String
Compression algorithm chosen for compression. Will be one of none, gzip, or zstd.
final
enabled → bool
Bucket enabled.
final
encryption → bool
Bucket is encrypted.
final
fileSecurity → bool
Whether file-level security is enabled. Learn more about permissions.
final
hashCode → int
The hash code for this object.
no setterinherited
maximumFileSize → int
Maximum file size supported.
final
name → String
Bucket name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalSize → int
Total size of this bucket in bytes.
final
transformations → bool
Image transformations are enabled.
final

Methods

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

Operators

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