instance property

The default instance of DesktopWebviewAuthPlatform to use.

Defaults to MethodChannelDesktopWebviewAuth.

Implementation

static DesktopWebviewAuthPlatform get instance => _instance;
void instance=(DesktopWebviewAuthPlatform instance)

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

Implementation

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