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