doctor method
void
doctor()
Used by the dcli doctor command to print out the DartProjects details.
Implementation
void doctor() {
_colprint('Pubspec Path', privatePath(pathToPubSpec));
print('');
print('');
print('pubspec.yaml');
read(pathToPubSpec).forEach((line) {
print(' ${_makeSafe(line)}');
});
print('');
_colprint('Dependencies', '');
for (final name in pubSpec.dependencies.keys) {
_colprint(name, pubSpec.dependencies[name]!.rehydrate());
}
}