tamper method
- int seq
Changes the details of the row seq without its hash, so the chain breaks there.
Implementation
void tamper(int seq) {
final row = rows[seq - 1];
row['details'] = {...(row['details']! as JsonMap), 'tampered': true};
}
Changes the details of the row seq without its hash, so the chain breaks there.
void tamper(int seq) {
final row = rows[seq - 1];
row['details'] = {...(row['details']! as JsonMap), 'tampered': true};
}