copyWith method
WebApiModulesWarehouseExchangeExchangeItemInResponse
copyWith(
{ - String? contractId,
- String? inCode,
- int? quantity,
- String? orderId,
- String? orderNumber,
- String? orderDescription,
- String? dealId,
- String? deal,
- String? departmentId,
- WebApiModulesWarehouseExchangeExchangeItemStatus? itemStatus,
- int? status,
- bool? success,
- String? msg,
})
Implementation
WebApiModulesWarehouseExchangeExchangeItemInResponse copyWith(
{String? contractId,
String? inCode,
int? quantity,
String? orderId,
String? orderNumber,
String? orderDescription,
String? dealId,
String? deal,
String? departmentId,
WebApiModulesWarehouseExchangeExchangeItemStatus? itemStatus,
int? status,
bool? success,
String? msg}) {
return WebApiModulesWarehouseExchangeExchangeItemInResponse(
contractId: contractId ?? this.contractId,
inCode: inCode ?? this.inCode,
quantity: quantity ?? this.quantity,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
orderDescription: orderDescription ?? this.orderDescription,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
departmentId: departmentId ?? this.departmentId,
itemStatus: itemStatus ?? this.itemStatus,
status: status ?? this.status,
success: success ?? this.success,
msg: msg ?? this.msg);
}