toValue method
Implementation
String toValue() {
switch (this) {
case InsightState.active:
return 'ACTIVE';
case InsightState.closed:
return 'CLOSED';
}
}
String toValue() {
switch (this) {
case InsightState.active:
return 'ACTIVE';
case InsightState.closed:
return 'CLOSED';
}
}