of static method
Implementation
static VariableScope? of(String str) {
switch (str) {
case 'device':
return VariableScope.device;
case 'app':
return VariableScope.app;
case 'screen':
return VariableScope.screen;
}
}