toHasLogicalRedundancy method

HasLogicalRedundancy toHasLogicalRedundancy()

Implementation

HasLogicalRedundancy toHasLogicalRedundancy() {
  switch (this) {
    case 'unknown':
      return HasLogicalRedundancy.unknown;
    case 'yes':
      return HasLogicalRedundancy.yes;
    case 'no':
      return HasLogicalRedundancy.no;
  }
  throw Exception('$this is not known in enum HasLogicalRedundancy');
}