toBurnInShadowColor method

BurnInShadowColor toBurnInShadowColor()

Implementation

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