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