copyWith method
Implementation
NiceComponentInfo copyWith({
String? name,
String? path,
int? estimatedSizeBytes,
Set<String>? dependencies,
Set<String>? usedBy,
bool? isExported,
bool? isUsed,
}) {
return NiceComponentInfo(
name: name ?? this.name,
path: path ?? this.path,
estimatedSizeBytes: estimatedSizeBytes ?? this.estimatedSizeBytes,
dependencies: dependencies ?? this.dependencies,
usedBy: usedBy ?? this.usedBy,
isExported: isExported ?? this.isExported,
isUsed: isUsed ?? this.isUsed,
);
}