toStatusType method

StatusType toStatusType()

Implementation

StatusType toStatusType() {
  switch (this) {
    case 'Active':
      return StatusType.active;
    case 'Inactive':
      return StatusType.inactive;
  }
  throw Exception('$this is not known in enum StatusType');
}