moveCamera method Null safety

Future<void> moveCamera(
  1. CameraUpdate cameraUpdate
)

Changes the map camera position.

The returned Future completes after the change has been made on the platform side.

Implementation

Future<void> moveCamera(CameraUpdate cameraUpdate) {
  return GoogleMapsFlutterPlatform.instance
      .moveCamera(cameraUpdate, mapId: mapId);
}