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