copyWith method
- CameraUpdateMode? mode,
- CameraOptions? camera,
- AnimationOptions? animation,
- GesturePhase? gesturePhase,
A copy of this value with the given members replaced.
Implementation
CameraUpdate copyWith({
CameraUpdateMode? mode,
CameraOptions? camera,
AnimationOptions? animation,
GesturePhase? gesturePhase,
}) => CameraUpdate(
mode: mode ?? this.mode,
camera: camera ?? this.camera,
animation: animation ?? this.animation,
gesturePhase: gesturePhase ?? this.gesturePhase,
);