toRootAccess method
Implementation
RootAccess toRootAccess() {
switch (this) {
case 'Enabled':
return RootAccess.enabled;
case 'Disabled':
return RootAccess.disabled;
}
throw Exception('$this is not known in enum RootAccess');
}