cacheDir property

Directory get cacheDir

Get the base directory for this project+target cache.

Implementation

Directory get cacheDir {
  final root =
      cacheRoot ??
      Directory(
        p.join(
          Directory.current.path,
          '.dart_tool',
          'native_prebuilt',
          'build-cache',
        ),
      );
  return Directory(p.join(root.path, projectName, targetLabel));
}