instance property

DytePluginPlatform get instance

The default instance of DytePluginPlatform to use.

Defaults to MethodChannelDytePlugin.

Implementation

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

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

Implementation

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