instance property

The default instance of FlutterRingtoneManagerPlatform to use.

Defaults to MethodChannelFlutterRingtoneManager.

Implementation

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

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

Implementation

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