instance property

RingtonePlayerPlatform get instance

The implementation in use, PigeonRingtonePlayer by default.

Implementation

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

Sets the implementation. It must extend RingtonePlayerPlatform.

Implementation

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