copyWith method

CameraFitOptions copyWith({
  1. EdgeInsets? padding,
  2. double? bearing,
  3. double? pitch,
})

A copy of this value with the given members replaced.

Implementation

CameraFitOptions copyWith({
  EdgeInsets? padding,
  double? bearing,
  double? pitch,
}) => CameraFitOptions(
  padding: padding ?? this.padding,
  bearing: bearing ?? this.bearing,
  pitch: pitch ?? this.pitch,
);