toFaqStatus method

FaqStatus toFaqStatus()

Implementation

FaqStatus toFaqStatus() {
  switch (this) {
    case 'CREATING':
      return FaqStatus.creating;
    case 'UPDATING':
      return FaqStatus.updating;
    case 'ACTIVE':
      return FaqStatus.active;
    case 'DELETING':
      return FaqStatus.deleting;
    case 'FAILED':
      return FaqStatus.failed;
  }
  throw Exception('$this is not known in enum FaqStatus');
}