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