storage method

Storage storage([
  1. String? url
])

Returns Storage service optionally initialized with a custom storage bucket.

Implementation

Storage storage([String? url]) {
  final jsObjectStorage =
      (url != null) ? jsObject.storage(url) : jsObject.storage();
  return Storage.getInstance(jsObjectStorage);
}