toValue method
Implementation
String toValue() {
switch (this) {
case InspectorEvent.assessmentRunStarted:
return 'ASSESSMENT_RUN_STARTED';
case InspectorEvent.assessmentRunCompleted:
return 'ASSESSMENT_RUN_COMPLETED';
case InspectorEvent.assessmentRunStateChanged:
return 'ASSESSMENT_RUN_STATE_CHANGED';
case InspectorEvent.findingReported:
return 'FINDING_REPORTED';
case InspectorEvent.other:
return 'OTHER';
}
}