instance property

CameraMlPlatform instance

The default instance of CameraMlPlatform to use.

Defaults to MethodChannelCameraMl.

Implementation

static CameraMlPlatform get instance => _instance;
void instance=(CameraMlPlatform instance)

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

Implementation

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