findAssets method
Finds assets within the root package that match the matcher
pattern.
Useful for locating additional input files needed during generation, such as template files or configuration files.
@param matcher The path matcher to match against files in the root package @param subDir An optional subdirectory to limit the search within the root package. @return A list of matching assets
Implementation
@override
List<Asset> findAssets(PathMatcher matcher, {String? subDir}) {
return _assetReader.findRootAssets(matcher, subDir: subDir);
}