toStatusType method
Implementation
StatusType toStatusType() {
switch (this) {
case 'Enabled':
return StatusType.enabled;
case 'Disabled':
return StatusType.disabled;
}
throw Exception('$this is not known in enum StatusType');
}