pubSpec property
PubSpec
get
pubSpec
reads and returns the project's virtual pubspec and returns it. @Throwing(DuplicateKeyException) @Throwing(NotFoundException) @Throwing(PubSpecException) @Throwing(VersionException)
Implementation
PubSpec get pubSpec => PubSpec.loadFromPath(pathToPubSpec);