toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RequiredAttributeBehavior.requiredAlways:
      return 'REQUIRED_ALWAYS';
    case RequiredAttributeBehavior.notRequired:
      return 'NOT_REQUIRED';
  }
}