instance property

The default instance of NotificationVoipPluginPlatform to use.

Defaults to MethodChannelNotificationVoipPlugin.

Implementation

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

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

Implementation

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