Tuple2<T1, T2> constructor Null safety

const Tuple2<T1, T2>(
  1. T1 item1,
  2. T2 item2
)

Creates a new tuple value with the specified items.

Implementation

const Tuple2(this.item1, this.item2);