toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExistCondition.mustExist:
      return 'MUST_EXIST';
    case ExistCondition.notExist:
      return 'NOT_EXIST';
    case ExistCondition.none:
      return 'NONE';
  }
}