copyWith method

AnimatedToggleProperties<T> copyWith({
  1. T? value,
  2. int? index,
})

Implementation

AnimatedToggleProperties<T> copyWith({T? value, int? index}) {
  return AnimatedToggleProperties(
      value: value ?? this.value,
      index: index ?? this.index,
      animationValue: animationValue);
}