instance property

SeonPluginPlatform get instance

The default instance of SeonPluginPlatform to use.

Defaults to MethodChannelSeonPlugin.

Implementation

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

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

Implementation

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