toReadAccessType method
Implementation
ReadAccessType toReadAccessType() {
switch (this) {
case 'ALLOW':
return ReadAccessType.allow;
case 'DENY':
return ReadAccessType.deny;
}
throw Exception('$this is not known in enum ReadAccessType');
}