I have no clue what best practises in Dart are, but aren't there const and final modifiers that could be applied to this?