copyWith method

ClampSimulation copyWith({
  1. Offset? clampOffset,
  2. double? duration,
})

Implementation

ClampSimulation copyWith({
  Offset? clampOffset,
  double? duration,
}) {
  return ClampSimulation(
    clampOffset: clampOffset ?? this.clampOffset,
    duration: duration ?? this.duration,
  );
}