ref method

  1. @override
Reference ref([
  1. String? path
])
override

Returns a new Reference.

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

Implementation

@override
Reference ref([String? path]) {
  path ??= '/';
  return MockReference(this, path);
}