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