toValue method
Implementation
String toValue() {
switch (this) {
case TermInYears.oneYear:
return 'ONE_YEAR';
case TermInYears.threeYears:
return 'THREE_YEARS';
}
}
String toValue() {
switch (this) {
case TermInYears.oneYear:
return 'ONE_YEAR';
case TermInYears.threeYears:
return 'THREE_YEARS';
}
}