toGameSessionStatusReason method

GameSessionStatusReason toGameSessionStatusReason()

Implementation

GameSessionStatusReason toGameSessionStatusReason() {
  switch (this) {
    case 'INTERRUPTED':
      return GameSessionStatusReason.interrupted;
  }
  throw Exception('$this is not known in enum GameSessionStatusReason');
}