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