toValue method
Implementation
String toValue() {
switch (this) {
case RegistrationStatus.registered:
return 'REGISTERED';
case RegistrationStatus.deprecated:
return 'DEPRECATED';
}
}
String toValue() {
switch (this) {
case RegistrationStatus.registered:
return 'REGISTERED';
case RegistrationStatus.deprecated:
return 'DEPRECATED';
}
}