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