flyToCamera method

void flyToCamera(
  1. MLNMapCamera camera$1, {
  2. ObjCBlock<Void Function()>? completionHandler,
})

Moves the viewpoint to a different location using a transition animation that evokes powered flight and a default duration based on the length of the flight path.

The transition animation seamlessly incorporates zooming and panning to help the user find his or her bearings even after traversing a great distance.

@param camera The new viewpoint. @param completion The block to execute after the animation finishes.

Implementation

void flyToCamera(MLNMapCamera camera$1, {objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_o762yo(this.ref.pointer, _sel_flyToCamera_completionHandler_, camera$1.ref.pointer, completionHandler?.ref.pointer ?? ffi.nullptr);

}