copyWith method

WebApiModulesReportsTransferFixedAssetOwnershipReportTransferFixedAssetOwnershipReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? fromWarehouseId,
  4. String? toWarehouseId,
  5. String? transferId,
  6. String? inventoryTypeId,
  7. String? categoryId,
  8. String? inventoryId,
  9. String? userDepartmentId,
  10. String? userLocationId,
  11. String? userWarehouseId,
  12. String? customReportLayoutId,
  13. bool? isSummary,
  14. bool? includeSubHeadingsAndSubTotals,
  15. bool? includeIdColumns,
  16. String? locale,
  17. List<FwStandardModelsCheckBoxListItem>? excelfields,
  18. String? reportName,
  19. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsTransferFixedAssetOwnershipReportTransferFixedAssetOwnershipReportRequest
copyWith({
  DateTime? fromDate,
  DateTime? toDate,
  String? fromWarehouseId,
  String? toWarehouseId,
  String? transferId,
  String? inventoryTypeId,
  String? categoryId,
  String? inventoryId,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsTransferFixedAssetOwnershipReportTransferFixedAssetOwnershipReportRequest(
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    fromWarehouseId: fromWarehouseId ?? this.fromWarehouseId,
    toWarehouseId: toWarehouseId ?? this.toWarehouseId,
    transferId: transferId ?? this.transferId,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    categoryId: categoryId ?? this.categoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    userDepartmentId: userDepartmentId ?? this.userDepartmentId,
    userLocationId: userLocationId ?? this.userLocationId,
    userWarehouseId: userWarehouseId ?? this.userWarehouseId,
    customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
    isSummary: isSummary ?? this.isSummary,
    includeSubHeadingsAndSubTotals:
        includeSubHeadingsAndSubTotals ?? this.includeSubHeadingsAndSubTotals,
    includeIdColumns: includeIdColumns ?? this.includeIdColumns,
    locale: locale ?? this.locale,
    excelfields: excelfields ?? this.excelfields,
    reportName: reportName ?? this.reportName,
    useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate,
  );
}