fragment function

FlintFragment fragment(
  1. List<Object?> children
)

Creates a fragment node from normalized children.

Implementation

FlintFragment fragment(List<Object?> children) {
  return FlintFragment(
    children.map(component_props.toFlintNode).toList(growable: false),
  );
}