value property

int get value

Implementation

int get value {
  switch (this) {
    case Agreement.agree:
      return 1;
    case Agreement.disagree:
      return -1;
    case Agreement.agreeAfterReflecting:
      return 2;
    default:
      return 0;
  }
}