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