instance property

HikvisionPlatform get instance

The default instance of HikvisionPlatform to use.

Defaults to MethodChannelHikvision.

Implementation

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

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

Implementation

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