pubSpec property

PubSpec pubSpec

reads and returns the project's virtual pubspec and returns it.

Implementation

PubSpec get pubSpec => PubSpec.loadFromPath(pathToPubSpec);