ref method
Returns a reference for the given path in the default bucket.
path
A relative path to initialize the reference with, for example
path/to/image.jpg
. If not passed, the returned reference points to
the bucket root.
Implementation
@override
ReferencePlatform ref(
String path, {
@visibleForTesting ReferenceBuilder? refBuilder,
}) {
return guard(() {
ReferenceBuilder refBuilderFunction = refBuilder ?? _createReference;
ReferencePlatform ref = refBuilderFunction(this, path);
return ref;
});
}