instance property
NotificationChannelManagerPlatform
instance
The default instance of NotificationChannelManagerPlatform to use.
Defaults to MethodChannelNotificationChannelManager.
Implementation
static NotificationChannelManagerPlatform get instance => _instance;
Platform-specific implementations should set this with their own platform-specific class that extends NotificationChannelManagerPlatform when they register themselves.
Implementation
static set instance(NotificationChannelManagerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}