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