pubSpec property

PubSpec get pubSpec

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

Implementation

PubSpec get pubSpec => project.pubSpec;