AssetId constructor

AssetId(String package String path)

Creates a new AssetId at path within package.

The path will be normalized: any backslashes will be replaced with forward slashes (regardless of host OS) and "." and ".." will be removed where possible.

Implementation

AssetId(this.package, String path) : path = _normalizePath(path);