instance property

InstaLoginPlatform get instance

The default instance of InstaLoginPlatform to use.

Defaults to MethodChannelInstaLogin.

Implementation

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

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

Implementation

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