willRotateToInterfaceOrientation method

void willRotateToInterfaceOrientation(
  1. UIInterfaceOrientation toInterfaceOrientation, {
  2. required double duration,
})

willRotateToInterfaceOrientation:duration:

Implementation

void willRotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation, {required double duration}) {
  objc.checkOsVersionInternal('UIViewController.willRotateToInterfaceOrientation:duration:', iOS: (false, (2, 0, 0)));
  _objc_msgSend_vscdhh(
    this.ref.pointer,
    _sel_willRotateToInterfaceOrientation_duration_,
    toInterfaceOrientation.value,
    duration,
  );
}