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