StorageBucketModel class

Available Extensions

Constructors

StorageBucketModel(String id, {String? parentFolderPath, int? maxAllowedSize, String? subRef, String? creatorId})

Properties

controller BucketController
no setter
creatorId String?
final
folderPath String
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
this name is it's id, should be unique must only contain numbers and letters and not exceed 50 letters
final
maxAllowedSize int?
this is the maximum allowed bucket size in bytes if null this means that the bucket size can be infinity
final
parentPath String
no setter
permissionChecker PermissionChecker
no setter
permissionsController StoragePermissionController
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subRef String?
this will represent if this storage bucket targets a sub dir inside that bucket or if null this mean that this ref targets the bucket dir itself
getter/setter pair
targetRefPath String
this will return the folder path that this storage bucket ref model targets
no setter

Methods

child(String name) StorageBucketModel
getFileRef(String entityPath) String?
getRefAbsPath(String ref) String?
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parent() Future<StorageBucketModel?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromPath(String path) Future<StorageBucketModel?>