toBucketLogsPermission method
Implementation
BucketLogsPermission toBucketLogsPermission() {
switch (this) {
case 'FULL_CONTROL':
return BucketLogsPermission.fullControl;
case 'READ':
return BucketLogsPermission.read;
case 'WRITE':
return BucketLogsPermission.write;
}
throw Exception('$this is not known in enum BucketLogsPermission');
}