toBucketVersioningStatus method
Implementation
BucketVersioningStatus toBucketVersioningStatus() {
switch (this) {
case 'Enabled':
return BucketVersioningStatus.enabled;
case 'Suspended':
return BucketVersioningStatus.suspended;
}
throw Exception('$this is not known in enum BucketVersioningStatus');
}