instance property

OktaFlutterPlatform get instance

The default instance of OktaFlutterPlatform to use.

Defaults to MethodChannelOktaFlutter.

Implementation

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

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

Implementation

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