copyWith method

ManageSubSectionStockTake copyWith({
  1. ManageStockCountSession? manageStockCountSession,
  2. String? manageSubSectionStockTakeName,
  3. List<ManageSubSectionStockTakeInventory>? manageSubSectionStockTakeInventory,
  4. DateTime? dateAdd,
  5. DateTime? dateEdit,
  6. dynamic icEmployeeDTO,
})

Implementation

ManageSubSectionStockTake copyWith({
  ManageStockCountSession? manageStockCountSession,
  String? manageSubSectionStockTakeName,
  List<ManageSubSectionStockTakeInventory>? manageSubSectionStockTakeInventory,
  DateTime? dateAdd,
  DateTime? dateEdit,
  employee.Employee? icEmployeeDTO,
}) {
  return ManageSubSectionStockTake(
    manageSubSectionStockTakeId: manageSubSectionStockTakeId,
    manageStockCountSession: manageStockCountSession ?? this.manageStockCountSession,
    manageSubSectionStockTakeName: manageSubSectionStockTakeName ?? this.manageSubSectionStockTakeName,
    manageSubSectionStockTakeInventory: manageSubSectionStockTakeInventory ?? this.manageSubSectionStockTakeInventory,
    dateAdd: dateAdd ?? this.dateAdd,
    dateEdit: dateEdit ?? this.dateEdit,
    icEmployeeDTO: icEmployeeDTO ?? this.icEmployeeDTO,
  );
}