instance property

The default instance of FlutterSoundPlayerPlatform to use.

Defaults to MethodChannelFlutterSoundPlayer.

Implementation

static FlutterSoundPlayerPlatform get instance => _instance;
void instance=(FlutterSoundPlayerPlatform instance)

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

Implementation

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