List<T> getChildrenAs<T>(String name, T Function(Parser) mapper) { return getChildren(name).map(mapper).toList(); }