instance property

MesiboPlatform get instance

The default instance of MesiboPlatform to use.

Defaults to MethodChannelMesibo.

Implementation

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

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

Implementation

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