Bucket class
Bucket
- Implemented types
Constructors
- Bucket({required String $id, required String $createdAt, required String $updatedAt, required List $permissions, required bool fileSecurity, required String name, required bool enabled, required int maximumFileSize, required List allowedFileExtensions, required String compression, required bool encryption, required bool antivirus})
-
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
-
Bucket permissions. Learn more about permissions.
final
- $updatedAt → String
-
Bucket update date in ISO 8601 format.
final
- allowedFileExtensions → List
-
Allowed file extensions.
final
- antivirus → bool
-
Virus scanning is enabled.
final
- compression → String
-
Compression algorithm choosen 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
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