copyWith method

Override copyWith({
  1. String? node,
  2. String? component,
  3. List<NodeProperty>? properties,
  4. BuilderFunction? builder,
})

Implementation

Override copyWith({
  String? node,
  String? component,
  List<NodeProperty>? properties,
  BuilderFunction? builder,
}) {
  return Override(
    node ?? this.node,
    component: component ?? this.component,
    props: properties ?? this.properties,
    builder: builder ?? this.builder,
  );
}