instance property

The default instance of FlutterCameraPluginPlatform to use.

Defaults to MethodChannelFlutterCameraPlugin.

Implementation

static FlutterCameraPluginPlatform get instance => _instance;
set instance (FlutterCameraPluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends FlutterCameraPluginPlatform when they register themselves.

Implementation

static set instance(FlutterCameraPluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}