IndexedSlot<T> constructor

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

Creates an IndexedSlot with the provided index and slot value.

Implementation

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