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