value property

int get value

Implementation

int get value {
  switch (this) {
    case UpdateFrequency.immediate:
      return 1;
    case UpdateFrequency.hourly:
      return 2;
    case UpdateFrequency.daily:
      return 3;
    case UpdateFrequency.weekly:
      return 4;
  }
}