copyWith method

Project copyWith({
  1. Engine? engine,
  2. bool? exclude,
})

Create a copy of this Project with the specified changes

Implementation

Project copyWith({Engine? engine, bool? exclude}) {
  return Project(
    engine: engine ?? this.engine,
    path: path,
    config: config,
    example: example,
    hidden: hidden,
    exclude: exclude ?? this.exclude,
  );
}