instance property

NeliveplayerPlatform get instance

The default instance of NeliveplayerPlatform to use.

Defaults to MethodChannelNeliveplayer.

Implementation

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

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

Implementation

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