instance property

The default instance of InstaLoginPlatform to use.

Defaults to MethodChannelInstaLogin.

Implementation

static InstaLoginPlatform get instance => _instance;
void 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;
}