findAssetPaths property
Implementation
Future<List<String>> get findAssetPaths async {
final List<String> assetPaths = [];
await Future.wait(
this.assetPaths.map((String path) async {
final Glob glob = Glob(path);
await for (final FileSystemEntity entity in glob.list()) {
final String path = context.prettyUri(entity.path);
if (!isExcludePath(path)) assetPaths.add(path);
}
})
);
return assetPaths;
}