IndexedSlot<T extends Element?> constructor Null safety

const IndexedSlot<T extends Element?>(
  1. int index,
  2. T value
)

Creates an IndexedSlot with the provided index and slot value.

Implementation

const IndexedSlot(this.index, this.value);