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