instance property

MedioPlatform get instance

The default instance of MedioPlatform to use.

Defaults to MethodChannelMedio.

Implementation

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

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

Implementation

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