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