copyWithWrapped method

WebApiModulesAgentOrderOrderMessage copyWithWrapped({
  1. Wrapped<String?>? tag,
  2. Wrapped<String?>? message,
  3. Wrapped<bool?>? preventCheckOut,
  4. Wrapped<String?>? backgroundColor,
})

Implementation

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