releasePath static method
Shareable address of a release. Falls back to itemPath when the release has no slug yet, so links keep working during the backfill.
Implementation
static String releasePath(
String id, {
String ownerSlug = '',
String slug = '',
}) => (ownerSlug.isNotEmpty && slug.isNotEmpty)
? '/$releasePrefix/$ownerSlug/$slug'
: itemPath(id, slug: slug);