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