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