fetchPubspecUris method
Fetches URIs of all file.yaml
files available in the source.
Implementation
@override
Future<List<Uri>> fetchPubspecUris() async {
final List<Uri> pubspecUris = [];
await for (final entity in directory.list(recursive: true)) {
if (entity is File && entity.path.endsWith('pubspec.yaml')) {
pubspecUris.add(Uri.file(entity.path));
}
}
return pubspecUris;
}