instance property

GliaplayerPlatform get instance

The default instance of GliaplayerPlatform to use.

Defaults to MethodChannelGliaplayer.

Implementation

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

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

Implementation

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