toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StatusType.detected:
      return 'Detected';
    case StatusType.missed:
      return 'Missed';
  }
}