A Dart implementation for Konami code.