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