toJQStatus method
Implementation
JQStatus toJQStatus() {
switch (this) {
case 'CREATING':
return JQStatus.creating;
case 'UPDATING':
return JQStatus.updating;
case 'DELETING':
return JQStatus.deleting;
case 'DELETED':
return JQStatus.deleted;
case 'VALID':
return JQStatus.valid;
case 'INVALID':
return JQStatus.invalid;
}
throw Exception('$this is not known in enum JQStatus');
}