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