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