copyWith method
Implementation
WebApiModulesAgentOrderOrderMessage copyWith({
String? tag,
String? message,
bool? preventCheckOut,
String? backgroundColor,
String? textColor,
String? orderNumber,
}) {
return WebApiModulesAgentOrderOrderMessage(
tag: tag ?? this.tag,
message: message ?? this.message,
preventCheckOut: preventCheckOut ?? this.preventCheckOut,
backgroundColor: backgroundColor ?? this.backgroundColor,
textColor: textColor ?? this.textColor,
orderNumber: orderNumber ?? this.orderNumber,
);
}