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