FOSSA supports Dart projects through pub.

ToolQuick Import (app.fossa.com)CLI (fossa-cli)
Dart (pub)-pubspec.yaml

CLI (fossa-cli)

To get started, install the latest release of fossa-cli from our GitHub releases page:

curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash

Once installed, run fossa analyze inside of your repo's root directory to analyze your Dart or Flutter project using pub.

Note: ' flutter pub get ' should be run before Fossa analyze to ensure all dependencies are resolved.

You can view our extended documentation for dart here.