createBucket method
Implementation
Future<StorageBucketModel> createBucket(
String id, {
String? parentFolderPath,
int? maxAllowedSize,
required String creatorId,
}) async {
if (!_initialized) {
throw StorageServiceNotInitializedException();
}
StorageBucketModel storageBucket = StorageBucketModel(
id,
creatorId: creatorId,
maxAllowedSize: maxAllowedSize,
parentFolderPath: parentFolderPath,
);
return storageBucket;
}