instance property

PocDynaPlatform get instance

The default instance of PocDynaPlatform to use.

Defaults to MethodChannelPocDyna.

Implementation

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

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

Implementation

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