readPackageNameFromPackage function

String readPackageNameFromPackage()

Implementation

String readPackageNameFromPackage() {
  var package = json.decode(File("package.json").readAsStringSync());
  return package["name"];
}