copyWith method

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

Create a copy of this Project with the specified changes

Implementation

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