copyWithWrapped method

WebApiModulesAgentOrderCopyTemplateRequest copyWithWrapped({
  1. Wrapped<List<String>?>? templateIds,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? recType,
  4. Wrapped<String?>? moduleName,
})

Implementation

WebApiModulesAgentOrderCopyTemplateRequest copyWithWrapped(
    {Wrapped<List<String>?>? templateIds,
    Wrapped<String?>? orderId,
    Wrapped<String?>? recType,
    Wrapped<String?>? moduleName}) {
  return WebApiModulesAgentOrderCopyTemplateRequest(
      templateIds:
          (templateIds != null ? templateIds.value : this.templateIds),
      orderId: (orderId != null ? orderId.value : this.orderId),
      recType: (recType != null ? recType.value : this.recType),
      moduleName: (moduleName != null ? moduleName.value : this.moduleName));
}