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