toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PreventUserExistenceErrorTypes.legacy:
      return 'LEGACY';
    case PreventUserExistenceErrorTypes.enabled:
      return 'ENABLED';
  }
}