copyWith method
Creates a copy tuple with the elements from this tuple with the value of each item optionally overridden.
Implementation
Tuple4<T0, T1, T2, T3> copyWith({
T0? item0,
T1? item1,
T2? item2,
T3? item3,
}) =>
Tuple4<T0, T1, T2, T3>(
item0 ?? this.item0,
item1 ?? this.item1,
item2 ?? this.item2,
item3 ?? this.item3,
);