instance property

DroidDexPlatform get instance

The default instance of DroidDexPlatform to use.

Defaults to MethodChannelDroidDex.

Implementation

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

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

Implementation

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