copyWith method
ManageSubSectionStockTake
copyWith({
- ManageStockCountSession? manageStockCountSession,
- String? manageSubSectionStockTakeName,
- List<
ManageSubSectionStockTakeInventory> ? manageSubSectionStockTakeInventory, - DateTime? dateAdd,
- DateTime? dateEdit,
- 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,
);
}