toWatermarkingStrength method
Implementation
WatermarkingStrength toWatermarkingStrength() {
switch (this) {
case 'LIGHTEST':
return WatermarkingStrength.lightest;
case 'LIGHTER':
return WatermarkingStrength.lighter;
case 'DEFAULT':
return WatermarkingStrength.$default;
case 'STRONGER':
return WatermarkingStrength.stronger;
case 'STRONGEST':
return WatermarkingStrength.strongest;
}
throw Exception('$this is not known in enum WatermarkingStrength');
}