toReadWriteType method
Implementation
ReadWriteType toReadWriteType() {
switch (this) {
case 'ReadOnly':
return ReadWriteType.readOnly;
case 'WriteOnly':
return ReadWriteType.writeOnly;
case 'All':
return ReadWriteType.all;
}
throw Exception('$this is not known in enum ReadWriteType');
}