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