toUpdateDataRetentionOperation method
Implementation
UpdateDataRetentionOperation toUpdateDataRetentionOperation() {
switch (this) {
case 'INCREASE_DATA_RETENTION':
return UpdateDataRetentionOperation.increaseDataRetention;
case 'DECREASE_DATA_RETENTION':
return UpdateDataRetentionOperation.decreaseDataRetention;
}
throw Exception('$this is not known in enum UpdateDataRetentionOperation');
}