copyWith method
ProjectClass
copyWith({
- ClassElement? classElement,
- String? filePath,
- Layer? layer,
- Set<
ArchitectureError> ? errors,
Implementation
ProjectClass copyWith({
ClassElement? classElement,
String? filePath,
Layer? layer,
Set<ArchitectureError>? errors,
}) {
return ProjectClass(
classElement: classElement ?? this.classElement,
filePath: filePath ?? this.filePath,
layer: layer ?? this.layer,
errors: errors ?? this.errors,
);
}