instance property

The default instance of GenericAudioNotificationPlatform to use.

Defaults to MethodChannelGenericAudioNotification.

Implementation

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

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

Implementation

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