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