Quad<T1, T2, T3, T4> constructor

Quad<T1, T2, T3, T4>(
  1. T1 first,
  2. T2 second,
  3. T3 third,
  4. T4 fourth,
)

Creates a Quad with the given first, second, third and fourth values.

Implementation

Quad(this.first, this.second, this.third, this.fourth): fields = List.unmodifiable([first, second, third, fourth]);