moveCamera method

void moveCamera(
  1. LatLng newLocation
)

Implementation

void moveCamera(LatLng newLocation) {
  final CameraUpdate cameraUpdate = CameraUpdate.newLatLng(newLocation);
  _mapController?.animateCamera(cameraUpdate);
  if (!state.isFollowingUser) add(OnStartFollowingUserEvent());
}