isRejected property

bool get isRejected

Whether this state requires a human correction before SMF can continue.

Implementation

bool get isRejected => switch (this) {
  AppVersionState.developerRejected ||
  AppVersionState.invalidBinary ||
  AppVersionState.metadataRejected ||
  AppVersionState.rejected ||
  AppVersionState.replacedWithNewVersion => true,
  AppVersionState.accepted ||
  AppVersionState.inReview ||
  AppVersionState.pendingAppleRelease ||
  AppVersionState.pendingDeveloperRelease ||
  AppVersionState.prepareForSubmission ||
  AppVersionState.processingForDistribution ||
  AppVersionState.readyForDistribution ||
  AppVersionState.readyForReview ||
  AppVersionState.waitingForExportCompliance ||
  AppVersionState.waitingForReview => false,
};