getResourcePath method

String getResourcePath(
  1. {required String appDirDocPath,
  2. required String resourceBasename}
)

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,
  );
}