copyWith method

WebApiModulesAgentPurchaseOrderPOMessage copyWith({
  1. String? tag,
  2. String? message,
  3. String? textColor,
  4. String? backgroundColor,
  5. bool? preventReceive,
})

Implementation

WebApiModulesAgentPurchaseOrderPOMessage copyWith({
  String? tag,
  String? message,
  String? textColor,
  String? backgroundColor,
  bool? preventReceive,
}) {
  return WebApiModulesAgentPurchaseOrderPOMessage(
    tag: tag ?? this.tag,
    message: message ?? this.message,
    textColor: textColor ?? this.textColor,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    preventReceive: preventReceive ?? this.preventReceive,
  );
}