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