toValue method
Implementation
String toValue() {
switch (this) {
case EventStatusCode.open:
return 'open';
case EventStatusCode.closed:
return 'closed';
case EventStatusCode.upcoming:
return 'upcoming';
}
}
String toValue() {
switch (this) {
case EventStatusCode.open:
return 'open';
case EventStatusCode.closed:
return 'closed';
case EventStatusCode.upcoming:
return 'upcoming';
}
}