toExistCondition method

ExistCondition toExistCondition()

Implementation

ExistCondition toExistCondition() {
  switch (this) {
    case 'MUST_EXIST':
      return ExistCondition.mustExist;
    case 'NOT_EXIST':
      return ExistCondition.notExist;
    case 'NONE':
      return ExistCondition.none;
  }
  throw Exception('$this is not known in enum ExistCondition');
}