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