toValue method
Implementation
String toValue() {
switch (this) {
case GenderType.male:
return 'Male';
case GenderType.female:
return 'Female';
}
}
String toValue() {
switch (this) {
case GenderType.male:
return 'Male';
case GenderType.female:
return 'Female';
}
}