newCameraPosition static method
Returns a camera update that moves the camera to the specified position.
Implementation
static CameraUpdate newCameraPosition(CameraPosition cameraPosition) {
return CameraUpdate._(
<Object>['newCameraPosition', cameraPosition.toMap()],
);
}