copyWith method

WebApiModulesAgentOrderItemCompleteKitOption copyWith({
  1. String? inventoryId,
  2. String? inventoryPackageInventoryId,
  3. int? quantity,
})

Implementation

WebApiModulesAgentOrderItemCompleteKitOption copyWith({
  String? inventoryId,
  String? inventoryPackageInventoryId,
  int? quantity,
}) {
  return WebApiModulesAgentOrderItemCompleteKitOption(
    inventoryId: inventoryId ?? this.inventoryId,
    inventoryPackageInventoryId:
        inventoryPackageInventoryId ?? this.inventoryPackageInventoryId,
    quantity: quantity ?? this.quantity,
  );
}