copyWith method
- CameraUpdateMode? mode,
- CameraFitOptions? fit,
- AnimationOptions? animation,
A copy of this value with the given members replaced.
Implementation
CameraFitUpdate copyWith({
CameraUpdateMode? mode,
CameraFitOptions? fit,
AnimationOptions? animation,
}) => CameraFitUpdate(
mode: mode ?? this.mode,
fit: fit ?? this.fit,
animation: animation ?? this.animation,
);