copyWith method

WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch copyWith({
  1. String? batchId,
  2. String? locationId,
  3. String? batchType,
  4. String? divisionCode,
  5. String? batchNumber,
  6. String? batchDate,
  7. String? batchTime,
  8. String? batchDateTime,
  9. String? exportDate,
  10. bool? exported,
  11. int? recordCount,
  12. String? dateStamp,
  13. String? auditNote,
  14. String? recordTitle,
  15. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  16. List<FwStandardDataFwCustomValue>? custom,
  17. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  18. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch copyWith(
    {String? batchId,
    String? locationId,
    String? batchType,
    String? divisionCode,
    String? batchNumber,
    String? batchDate,
    String? batchTime,
    String? batchDateTime,
    String? exportDate,
    bool? exported,
    int? recordCount,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch(
      batchId: batchId ?? this.batchId,
      locationId: locationId ?? this.locationId,
      batchType: batchType ?? this.batchType,
      divisionCode: divisionCode ?? this.divisionCode,
      batchNumber: batchNumber ?? this.batchNumber,
      batchDate: batchDate ?? this.batchDate,
      batchTime: batchTime ?? this.batchTime,
      batchDateTime: batchDateTime ?? this.batchDateTime,
      exportDate: exportDate ?? this.exportDate,
      exported: exported ?? this.exported,
      recordCount: recordCount ?? this.recordCount,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}