pathToPubSpec property
String
get
pathToPubSpec
Returns the path to a scripts pubspec.yaml. The pubspec.yaml is located in the project's root directory.
Implementation
String get pathToPubSpec => project.pathToPubSpec;