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