instance property

The default instance of WindowsNotificationPlatform to use.

Defaults to MethodChannelWindowsNotification.

Implementation

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

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

Implementation

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