toPermissionsMode method
Implementation
PermissionsMode toPermissionsMode() {
switch (this) {
case 'ALLOW_ALL':
return PermissionsMode.allowAll;
}
throw Exception('$this is not known in enum PermissionsMode');
}
PermissionsMode toPermissionsMode() {
switch (this) {
case 'ALLOW_ALL':
return PermissionsMode.allowAll;
}
throw Exception('$this is not known in enum PermissionsMode');
}