toValue method
Implementation
String toValue() {
switch (this) {
case CalendarState.open:
return 'OPEN';
case CalendarState.closed:
return 'CLOSED';
}
}
String toValue() {
switch (this) {
case CalendarState.open:
return 'OPEN';
case CalendarState.closed:
return 'CLOSED';
}
}