pubSpec property
PubSpec
get
pubSpec
reads and returns the project's virtual pubspec and returns it.
Implementation
PubSpec get pubSpec => PubSpec.fromFile(pathToPubSpec);
reads and returns the project's virtual pubspec and returns it.
PubSpec get pubSpec => PubSpec.fromFile(pathToPubSpec);