toQualificationStatus method

QualificationStatus toQualificationStatus()

Implementation

QualificationStatus toQualificationStatus() {
  switch (this) {
    case 'Granted':
      return QualificationStatus.granted;
    case 'Revoked':
      return QualificationStatus.revoked;
  }
  throw Exception('$this is not known in enum QualificationStatus');
}