hasPubspec property

  1. @MappableField()
bool hasPubspec

Indicates whether the project has a pubspec.yaml file.

Implementation

@MappableField()
bool get hasPubspec => pubspec != null;