normalizeChildren function
Normalizes a single child and additional children into Flint nodes.
Implementation
List<FlintNode> normalizeChildren(Object? child, List<Object?> children) {
final values = [if (child != null) child, ...children];
return values.map(toFlintNode).toList(growable: false);
}