value property

int get value

Implementation

int get value {
  switch (this) {
    case QoS.zero:
      return 0;
    case QoS.one:
      return 1;
    case QoS.two:
      return 2;
    default:
      return 0;
  }
}