nextSequenceNumber top-level property

int get nextSequenceNumber

Implementation

int get nextSequenceNumber {
  int seqNum = _sequenceNumber;
  ++_sequenceNumber;
  if (_sequenceNumber > 0xFF) _sequenceNumber = 0;
  return seqNum;
}