Events are used to trigger state transitions in Bloc instances. When the UI adds an event to the Bloc, the Bloc's event listener gets triggered, which then emits state changes. These state transitions are used in the UI to change the page according to the action that was performed.
Events are simple classes with instance variables, a constructor, and a toString() method. Below is the source code from `create_player_event.dart`: