replace method

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

Creates a Quad which first, second, third and/or fourth values have been replaced.

Implementation

Quad<T1, T2, T3, T4> replace({T1? first, T2? second, T3? third, T4? fourth}) => Quad(first ?? this.first, second ?? this.second, third ?? this.third, fourth ?? this.fourth);