copyWith method
Implementation
Pair<T, U> copyWith({
T? first,
U? second,
}) {
return Pair<T, U>(
first ?? this.first,
second ?? this.second,
);
}
Pair<T, U> copyWith({
T? first,
U? second,
}) {
return Pair<T, U>(
first ?? this.first,
second ?? this.second,
);
}