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