instance property

MxaliPlatform get instance

The default instance of MxaliPlatform to use.

Defaults to MethodChannelMxali.

Implementation

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

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

Implementation

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