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