toBurnInOutlineColor method

BurnInOutlineColor toBurnInOutlineColor()

Implementation

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