instance property

The default instance of SfsafariViewControllerPlatform to use.

Defaults to MethodChannelSfsafariViewController.

Implementation

static SfsafariViewControllerPlatform get instance => _instance;
set instance (SfsafariViewControllerPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends SfsafariViewControllerPlatform when they register themselves.

Implementation

static set instance(SfsafariViewControllerPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}