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