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