copyWith method
Implementation
PartsMask copyWith({
String? masksPath,
String? category,
List<double>? boxes,
String? vehiclePartName,
double? scores,
String? maskUrl,
bool? isPart,
Color? color,
}) =>
PartsMask(
masksPath: masksPath ?? this.masksPath,
boxes: boxes ?? this.boxes,
vehiclePartName: vehiclePartName ?? this.vehiclePartName,
scores: scores ?? this.scores,
maskUrl: maskUrl ?? this.maskUrl,
isPart: isPart ?? this.isPart,
category: category ?? this.category,
color: color ?? this.color,
);