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