instance property

The default instance of CustomCamPluginPlatform to use.

Defaults to MethodChannelCustomCamPlugin.

Implementation

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

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

Implementation

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