toAvailBlankingState method

AvailBlankingState toAvailBlankingState()

Implementation

AvailBlankingState toAvailBlankingState() {
  switch (this) {
    case 'DISABLED':
      return AvailBlankingState.disabled;
    case 'ENABLED':
      return AvailBlankingState.enabled;
  }
  throw Exception('$this is not known in enum AvailBlankingState');
}