instance property

FrameSdkPlatform get instance

The default instance of FrameSdkPlatform to use.

Defaults to MethodChannelFrameSdk.

Implementation

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

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

Implementation

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