enum EventType { atStart, starting, started, inCheckin, checkiningIn, checkedIn, atGoal, finishingGoal, finishedGoal, } class GameEvent { final EventType type; final DateTime timestamp; GameEvent({this.type = EventType.atStart, required this.timestamp}); }