instance property

PopscopeIosPlatform get instance

The default instance of PopscopeIosPlatform to use.

Defaults to MethodChannelPopscopeIos.

Implementation

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

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

Implementation

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