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