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