instance property

BeautyCamPlatform get instance

The default instance of BeautyCamPlatform to use.

Defaults to MethodChannelBeautyCam.

Implementation

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

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

Implementation

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