ref method

Reference ref(
  1. [String? path]
)

Creates a new Reference from the given path.

Parameters:

  • path: Optional path string; defaults to root.

Returns: A Reference object.

Example:

var ref = storage.ref('images/stars.jpg');

Implementation

Reference ref([String? path]) {
  return Reference(storage: this, fullPath: path ?? "");
}