run method

Future<List<String>> run({
  1. String? excludedLibs,
  2. String? excludedPackages,
  3. List<String> fileArgs = const [],
})

Implementation

Future<List<String>> run({
  String? excludedLibs,
  String? excludedPackages,
  List<String> fileArgs = const [],
}) async {
  if (await prepare(
    excludedLibs: excludedLibs,
    excludedPackages: excludedPackages,
  )) {
    final files = await findFiles(fileArgs);
    return await detect(files);
  }
  return [];
}