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