toAppStatus method

AppStatus toAppStatus()

Implementation

AppStatus toAppStatus() {
  switch (this) {
    case 'Deleted':
      return AppStatus.deleted;
    case 'Deleting':
      return AppStatus.deleting;
    case 'Failed':
      return AppStatus.failed;
    case 'InService':
      return AppStatus.inService;
    case 'Pending':
      return AppStatus.pending;
  }
  throw Exception('$this is not known in enum AppStatus');
}