toStatusType method

StatusType toStatusType()

Implementation

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