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