close method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
Closes the PlatformChromeSafariBrowser instance.
Officially Supported Platforms/Implementations:
- Android Chrome Custom Tabs
- iOS SFSafariViewController
Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
Future<void> close() {
throw UnimplementedError(
'close is not implemented on the current platform',
);
}