SlotRange constructor

const SlotRange({
  1. required u64 firstSlot,
  2. u64? lastSlot,
})

Defines the slot range to return block production for.

Implementation

const SlotRange({
  required this.firstSlot,
  this.lastSlot,
}) : assert(firstSlot >= 0 && (lastSlot == null || lastSlot >= 0));