toBurnInBackgroundColor method
Implementation
BurnInBackgroundColor toBurnInBackgroundColor() {
switch (this) {
case 'BLACK':
return BurnInBackgroundColor.black;
case 'NONE':
return BurnInBackgroundColor.none;
case 'WHITE':
return BurnInBackgroundColor.white;
}
throw Exception('$this is not known in enum BurnInBackgroundColor');
}