copyWith method
Implementation
CarDamage copyWith({
num? score,
List<num?>? box,
String? maskPath,
bool? isPart,
String? maskUrl,
String? className,
String? damageKey,
String? classUuid,
}) {
return CarDamage(
score: score ?? this.score,
box: box ?? this.box,
maskPath: maskPath ?? this.maskPath,
isPart: isPart ?? this.isPart,
maskUrl: maskUrl ?? this.maskUrl,
className: className ?? this.className,
damageKey: damageKey ?? this.damageKey,
classUuid: classUuid ?? this.classUuid,
);
}