copyWithWrapped method

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

Implementation

WebApiModulesAgentPurchaseOrderPOMessage copyWithWrapped({
  Wrapped<String?>? tag,
  Wrapped<String?>? message,
  Wrapped<String?>? textColor,
  Wrapped<String?>? backgroundColor,
  Wrapped<bool?>? preventReceive,
}) {
  return WebApiModulesAgentPurchaseOrderPOMessage(
    tag: (tag != null ? tag.value : this.tag),
    message: (message != null ? message.value : this.message),
    textColor: (textColor != null ? textColor.value : this.textColor),
    backgroundColor: (backgroundColor != null
        ? backgroundColor.value
        : this.backgroundColor),
    preventReceive: (preventReceive != null
        ? preventReceive.value
        : this.preventReceive),
  );
}