resolvePath static method
Resolves fileName to the path it is loaded from, and cached under, when
it belongs to package.
Implementation
static String resolvePath(String fileName, String? package) =>
package == null ? fileName : 'packages/$package/$fileName';