toStatusType method
Implementation
StatusType toStatusType() {
switch (this) {
case 'Detected':
return StatusType.detected;
case 'Missed':
return StatusType.missed;
}
throw Exception('$this is not known in enum StatusType');
}