toValue method
Implementation
String toValue() {
switch (this) {
case GameSessionPlacementState.pending:
return 'PENDING';
case GameSessionPlacementState.fulfilled:
return 'FULFILLED';
case GameSessionPlacementState.cancelled:
return 'CANCELLED';
case GameSessionPlacementState.timedOut:
return 'TIMED_OUT';
case GameSessionPlacementState.failed:
return 'FAILED';
}
}