PlatformPrintJobController.static constructor
Creates a new empty PlatformPrintJobController to access static methods.
Implementation
factory PlatformPrintJobController.static() {
assert(
InAppWebViewPlatform.instance != null,
'A platform implementation for `flutter_inappwebview_forge` has not been set. Please '
'ensure that an implementation of `InAppWebViewPlatform` has been set to '
'`WebViewPlatform.instance` before use. For unit testing, '
'`WebViewPlatform.instance` can be set with your own test implementation.',
);
final PlatformPrintJobController printJobControllerStatic =
InAppWebViewPlatform.instance!.createPlatformPrintJobControllerStatic();
PlatformInterface.verify(printJobControllerStatic, _token);
return printJobControllerStatic;
}