value property

int value

Implementation

int get value {
  switch (this) {
    case SyncState.Start:
      return 0;
    case SyncState.End:
      return 1;
    case SyncState.Stop:
      return 2;
    case SyncState.Empty:
      return 3;
  }
}