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