copyWith method

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

Implementation

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