checkPackagePath function

Future<bool> checkPackagePath(
  1. String packagePath
)

Implementation

Future<bool> checkPackagePath(String packagePath) async {
  Directory packageDirectory = Directory(packagePath);
  if (await packageDirectory.exists()) {
    return true;
  } else {
    return false;
  }
}