instance property

DynaPlatform instance

The default instance of DynaPlatform to use.

Defaults to MethodChannelDynaPlatform.

Implementation

static DynaPlatform get instance => _instance;
void instance=(DynaPlatform instance)

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

Implementation

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