toStatus method
Implementation
Status toStatus() {
switch (this) {
case 'IGNORE':
return Status.ignore;
case 'RESOLVED':
return Status.resolved;
case 'PENDING':
return Status.pending;
}
throw Exception('$this is not known in enum Status');
}