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