toPlayerSessionCreationPolicy method
Implementation
PlayerSessionCreationPolicy toPlayerSessionCreationPolicy() {
switch (this) {
case 'ACCEPT_ALL':
return PlayerSessionCreationPolicy.acceptAll;
case 'DENY_ALL':
return PlayerSessionCreationPolicy.denyAll;
}
throw Exception('$this is not known in enum PlayerSessionCreationPolicy');
}