url method

String url(
  1. String path
)

Get the URL for the file at the given path.

Implementation

String url(String path) {
  if (config.url != null) {
    return _concatPathToUrl(config.url!, path);
  }

  return '/storage/$path';
}