copyWith method

WebApiModulesAgentOrderOrderMessage copyWith({
  1. String? tag,
  2. String? message,
  3. bool? preventCheckOut,
  4. String? backgroundColor,
  5. String? textColor,
  6. String? orderNumber,
})

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,
  );
}