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