tamper method

void tamper(
  1. 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};
}