StorageBucketModel constructor
StorageBucketModel(})
Implementation
StorageBucketModel(
this.id, {
String? parentFolderPath,
this.maxAllowedSize,
this.subRef,
this.creatorId,
}) {
_controller = BucketController(this);
_parentPath = parentFolderPath ?? defaultBucketsContainer;
_parentPath = _parentPath.replaceAll('//', '/');
_parentPath = _parentPath.replaceAll('\\', '/');
_parentPath = _parentPath.strip('/');
}