hide method
Hides the PlatformInAppBrowser
window. Calling this has no effect if the PlatformInAppBrowser
was already hidden.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Windows
Implementation
@override
Future<void> hide() async {
assert(_isOpened, 'The browser is not opened.');
Map<String, dynamic> args = <String, dynamic>{};
await channel?.invokeMethod('hide', args);
}