## サンプルコード ```dart final list = ['aaa', 'bbb', 'ccc'] list.forEach((e) { if (e == 'bbb') { list.remove('ccc'); } }); ``` ## エラー内容 ```bash Unhandled Exception: Concurrent modification during iteration: Instance(length:0) of '_GrowableList'. ``` ## 対策 - mapやforEachの外で操作する - for文等の別の方法を使う