getHighestSequence method

  1. @action
int getHighestSequence()

The action for the get highest sequence.

Implementation

@action
int getHighestSequence() {
  if (_order.isEmpty) return 0;
  return _map[_order.first]?.sequence ?? 0;
}