instance property
HikvisionFlutterPlatform
get
instance
The default instance of HikvisionFlutterPlatform to use.
Defaults to MethodChannelHikvisionFlutter.
Implementation
static HikvisionFlutterPlatform get instance => _instance;
set
instance
(HikvisionFlutterPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends HikvisionFlutterPlatform when they register themselves.
Implementation
static set instance(HikvisionFlutterPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}