copyWith method
ProductStatus
copyWith({
- ProductStatusStatus? status,
- String? lastStatusChange,
- ProductStatusBreakdown? breakdown,
Implementation
ProductStatus copyWith(
{enums.ProductStatusStatus? status,
String? lastStatusChange,
ProductStatusBreakdown? breakdown}) {
return ProductStatus(
status: status ?? this.status,
lastStatusChange: lastStatusChange ?? this.lastStatusChange,
breakdown: breakdown ?? this.breakdown);
}