copyWith method
Implementation
WebApiServicesAvailabilityServiceTInventoryWarehouseConsignment copyWith({
String? consignorId,
String? consignor,
String? consignorAgreementId,
String? agreementNumber,
double? quantity,
DateTime? expirationDate,
String? inventoryId,
String? warehouseId,
}) {
return WebApiServicesAvailabilityServiceTInventoryWarehouseConsignment(
consignorId: consignorId ?? this.consignorId,
consignor: consignor ?? this.consignor,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
agreementNumber: agreementNumber ?? this.agreementNumber,
quantity: quantity ?? this.quantity,
expirationDate: expirationDate ?? this.expirationDate,
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
);
}