copyWith method

WebApiServicesAvailabilityServiceTInventoryWarehouseConsignment copyWith({
  1. String? consignorId,
  2. String? consignor,
  3. String? consignorAgreementId,
  4. String? agreementNumber,
  5. double? quantity,
  6. DateTime? expirationDate,
  7. String? inventoryId,
  8. String? warehouseId,
})

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,
  );
}