setProof method
Implementation
void setProof(Proof proof, {bool init = false}) {
if (!init) {
_hasChanged = true;
}
_proof = proof;
_cropParameters = null;
_proofType = proof.type!;
_date = proof.date!;
_currency = proof.currency!;
if (!init) {
notifyListeners();
}
}