copyWith method

NCameraPosition copyWith({
  1. NLatLng? target,
  2. double? zoom,
  3. double? tilt,
  4. double? bearing,
})

Implementation

NCameraPosition copyWith({
  NLatLng? target,
  double? zoom,
  double? tilt,
  double? bearing,
}) =>
    NCameraPosition(
      target: target ?? this.target,
      zoom: zoom ?? this.zoom,
      bearing: bearing ?? this.bearing,
      tilt: tilt ?? this.tilt,
    );