copyWith method
WebApiModulesAgentScheduleBarCodeReservationResource
copyWith({
- String? name,
- String? id,
- String? backColor,
- String? leftBarColor,
- String? orderItemId,
- String? barCode,
- String? serialNumber,
- String? rfid,
- String? trackedBy,
- String? rentalItemId,
- String? frozen,
- bool? qcRequired,
- String? qcRequiredColor,
- String? inventoryId,
- String? warehouseId,
- String? consignor,
- List<
WebApiModulesAgentScheduleBarCodeReservationResource> ? children,
Implementation
WebApiModulesAgentScheduleBarCodeReservationResource copyWith({
String? name,
String? id,
String? backColor,
String? leftBarColor,
String? orderItemId,
String? barCode,
String? serialNumber,
String? rfid,
String? trackedBy,
String? rentalItemId,
String? frozen,
bool? qcRequired,
String? qcRequiredColor,
String? inventoryId,
String? warehouseId,
String? consignor,
List<WebApiModulesAgentScheduleBarCodeReservationResource>? children,
}) {
return WebApiModulesAgentScheduleBarCodeReservationResource(
name: name ?? this.name,
id: id ?? this.id,
backColor: backColor ?? this.backColor,
leftBarColor: leftBarColor ?? this.leftBarColor,
orderItemId: orderItemId ?? this.orderItemId,
barCode: barCode ?? this.barCode,
serialNumber: serialNumber ?? this.serialNumber,
rfid: rfid ?? this.rfid,
trackedBy: trackedBy ?? this.trackedBy,
rentalItemId: rentalItemId ?? this.rentalItemId,
frozen: frozen ?? this.frozen,
qcRequired: qcRequired ?? this.qcRequired,
qcRequiredColor: qcRequiredColor ?? this.qcRequiredColor,
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
consignor: consignor ?? this.consignor,
children: children ?? this.children,
);
}