copyWith method
A copy of this value with the given members replaced.
Implementation
Camera copyWith({
LatLng? center,
double? centerAltitude,
EdgeInsets? padding,
double? zoom,
double? bearing,
double? pitch,
double? roll,
double? fieldOfView,
}) => Camera(
center: center ?? this.center,
centerAltitude: centerAltitude ?? this.centerAltitude,
padding: padding ?? this.padding,
zoom: zoom ?? this.zoom,
bearing: bearing ?? this.bearing,
pitch: pitch ?? this.pitch,
roll: roll ?? this.roll,
fieldOfView: fieldOfView ?? this.fieldOfView,
);