bucket method
Bucket
bucket(
[ - String? name
])
Implementation
gcs.Bucket bucket([String? name]) {
final bucketName = name ?? app.options.storageBucket;
if (bucketName == null || bucketName.isEmpty) {
throw FirebaseAppException(
AppErrorCode.failedPrecondition,
'Bucket name not specified or invalid. Specify a valid bucket name via the '
'storageBucket option when initializing the app, or specify the bucket name '
'explicitly when calling the bucket() method.',
);
}
return _delegate.bucket(bucketName);
}