hasPubSpec property
bool
get
hasPubSpec
Returns true if the project contains a pubspec.yaml.
Implementation
bool get hasPubSpec => exists(join(pathToProjectRoot, 'pubspec.yaml'));
Returns true if the project contains a pubspec.yaml.
bool get hasPubSpec => exists(join(pathToProjectRoot, 'pubspec.yaml'));