listSvgs property

List<SvgFile> listSvgs

returns the list of svg files in this folder that match the passed basename.

Implementation

List<SvgFile> get listSvgs {
  final smcats = list;

  final found = <SvgFile>[];

  for (final smcat in smcats) {
    if (u.exists(smcat.svgPath)) {
      found.add(SvgFile(smcat.svgPath));
    }
  }
  return found;
}