instance property

FplayerPlatform get instance

The default instance of FplayerPlatform to use.

Defaults to MethodChannelFplayer.

Implementation

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

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

Implementation

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