instance property

The default instance of MusicInfoPluginPlatform to use.

Defaults to MethodChannelMusicInfoPlugin.

Implementation

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

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

Implementation

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