copyWith abstract method
Creates a copy of this node with the given properties. Used in filter to create a copy of the sub-tree.
Implementation
WidgetbookNode copyWith({
String? name,
List<WidgetbookNode>? children,
String? fileType, // Added fileType to copyWith method
});