copyWith method

SwayzeHeaderData copyWith({
  1. double? extent,
  2. bool? hidden,
})

Implementation

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