The constructor
EasterEggTrigger({this.action, this.child, codes}) : this.codes = codes ?? KonamiCode;