instance property

IMGLYCameraPlatform get instance

The default instance of IMGLYCameraPlatform to use.

Implementation

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

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

Implementation

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