instance property

The default instance of FlutterRingtonePlayerPlatform to use.

Defaults to MethodChannelFlutterRingtonePlayer.

Implementation

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

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

Implementation

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