copyWith method

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

Implementation

WebApiModulesAgentOrderCopyTemplateRequest copyWith(
    {List<String>? templateIds,
    String? orderId,
    String? recType,
    String? moduleName}) {
  return WebApiModulesAgentOrderCopyTemplateRequest(
      templateIds: templateIds ?? this.templateIds,
      orderId: orderId ?? this.orderId,
      recType: recType ?? this.recType,
      moduleName: moduleName ?? this.moduleName);
}