getResourceUrl function Null safety

String getResourceUrl(
  1. String hash
)

Get the resource URL for a given hash.

Implementation

String getResourceUrl(String hash) {
  return join(_resourcesApi, hash.substring(0, 2), hash);
}