isInProject method

bool isInProject()

Check if we're in a Dart/Flutter project

Implementation

bool isInProject() {
  return File('pubspec.yaml').existsSync();
}