ref method

Reference ref([
  1. String? path
])

Returns a new Reference.

If the path is empty, the reference will point to the root of the storage bucket.

Implementation

Reference ref([String? path]) {
  path ??= '/';
  return Reference._(this, _delegate.ref(path.isEmpty ? '/' : path));
}