toSlaMet method

SlaMet toSlaMet()

Implementation

SlaMet toSlaMet() {
  switch (this) {
    case 'yes':
      return SlaMet.yes;
    case 'no':
      return SlaMet.no;
    case 'n/a':
      return SlaMet.na;
  }
  throw Exception('$this is not known in enum SlaMet');
}