coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case noUpdates:
      return 0;
    case syncWithFeatureServices:
      return 1;
    case downloadScheduledUpdates:
      return 2;
    case downloadScheduledUpdatesAndUploadNewFeatures:
      return 3;
  }
}