childFinder static method

List<Parser> childFinder(
  1. String parent,
  2. List<Parser> allParsers
)

Find all children of parser

Implementation

static List<Parser> childFinder(String parent, List<Parser> allParsers) {
  return allParsers.where((p) => p.parent.contains(parent)).toList();
}