sourceDirs top-level property

Set<Directory> sourceDirs
final

A set of common top-level directories according to the Pub package layout convention which usually contain Dart source code.

Implementation

final Set<Directory> sourceDirs = [
  'bin',
  'example',
  'lib',
  'test',
  'tool',
  'web'
].map((path) => Directory(path)).toSet();