copyWith method

WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse copyWith({
  1. String? batchId,
  2. String? batchNumber,
  3. String? downloadUrl,
  4. bool? success,
  5. String? message,
})

Implementation

WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse copyWith(
    {String? batchId,
    String? batchNumber,
    String? downloadUrl,
    bool? success,
    String? message}) {
  return WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportResponse(
      batchId: batchId ?? this.batchId,
      batchNumber: batchNumber ?? this.batchNumber,
      downloadUrl: downloadUrl ?? this.downloadUrl,
      success: success ?? this.success,
      message: message ?? this.message);
}