getResourcePath method
Given an asset name, returns an appropriate path to place the asset within this dictionary's resource path.
Implementation
String getResourcePath({
required String appDirDocPath,
required String resourceBasename,
}) {
return path.join(
getBasePath(appDirDocPath: appDirDocPath),
resourceBasename,
);
}