renderComponents method

List<CNode> renderComponents(
  1. List<CNode> list,
  2. PageID pageID
)

Implementation

List<CNode> renderComponents(final List<CNode> list, final PageID pageID) {
  final nodes = list.where((element) => element.pageID == pageID).toList();
  return nodes;
}