toBurnInFontColor method

BurnInFontColor toBurnInFontColor()

Implementation

BurnInFontColor toBurnInFontColor() {
  switch (this) {
    case 'BLACK':
      return BurnInFontColor.black;
    case 'BLUE':
      return BurnInFontColor.blue;
    case 'GREEN':
      return BurnInFontColor.green;
    case 'RED':
      return BurnInFontColor.red;
    case 'WHITE':
      return BurnInFontColor.white;
    case 'YELLOW':
      return BurnInFontColor.yellow;
  }
  throw Exception('$this is not known in enum BurnInFontColor');
}