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