toValue method
Implementation
String toValue() {
switch (this) {
case RegistrationStatus.registered:
return 'Registered';
case RegistrationStatus.deregistered:
return 'Deregistered';
}
}
String toValue() {
switch (this) {
case RegistrationStatus.registered:
return 'Registered';
case RegistrationStatus.deregistered:
return 'Deregistered';
}
}