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