copyWith method
Implementation
SwayzeHeaderData copyWith({
double? extent,
bool? hidden,
}) {
return SwayzeHeaderData(
index: index,
extent: extent ?? this.extent,
hidden: hidden ?? this.hidden,
);
}
SwayzeHeaderData copyWith({
double? extent,
bool? hidden,
}) {
return SwayzeHeaderData(
index: index,
extent: extent ?? this.extent,
hidden: hidden ?? this.hidden,
);
}