toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PlayerSessionStatus.reserved:
      return 'RESERVED';
    case PlayerSessionStatus.active:
      return 'ACTIVE';
    case PlayerSessionStatus.completed:
      return 'COMPLETED';
    case PlayerSessionStatus.timedout:
      return 'TIMEDOUT';
  }
}