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