toStreamView method
Implementation
StreamView toStreamView() {
switch (this) {
case 'APP':
return StreamView.app;
case 'DESKTOP':
return StreamView.desktop;
}
throw Exception('$this is not known in enum StreamView');
}
StreamView toStreamView() {
switch (this) {
case 'APP':
return StreamView.app;
case 'DESKTOP':
return StreamView.desktop;
}
throw Exception('$this is not known in enum StreamView');
}