presentViewController method
void
presentViewController(
- UIViewController viewControllerToPresent, {
- required bool animated,
- ObjCBlock<
Void Function()> ? completion,
presentViewController:animated:completion:
Implementation
void presentViewController(
UIViewController viewControllerToPresent, {
required bool animated,
objc.ObjCBlock<ffi.Void Function()>? completion,
}) {
final _$$ref = object$.ref;
final _$$ref$1 = viewControllerToPresent.ref;
final _$$ref$2 = completion?.ref;
objc.checkOsVersionInternal('UIViewController.presentViewController:animated:completion:', iOS: (false, (5, 0, 0)));
_objc_msgSend_na2nx0(
_$$ref.pointer,
_sel_presentViewController_animated_completion_,
_$$ref$1.pointer,
animated,
_$$ref$2?.pointer ?? ffi.nullptr,
);
}