PriceModel.proof constructor

PriceModel.proof({
  1. required Proof proof,
  2. List<Price>? existingPrices,
})

Implementation

PriceModel.proof({required Proof proof, this.existingPrices})
  : multipleProducts = true,
    _readyForPriceTagValidation = false,
    _priceAmountModels = <PriceAmountModel>[] {
  setProof(proof, init: true);
}