Triple<L, M, R> constructor

Triple<L, M, R>(
  1. L left,
  2. M middle,
  3. R right
)

Creates a Triple with the given left, middle and right values.

Implementation

Triple(this.left, this.middle, this.right): fields = List.unmodifiable([left, middle, right]);