pathToPubSpec property

String 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;