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