instance property
FlutterScreenRecordingPlatform
instance
The default instance of FlutterScreenRecordingPlatform to use.
Defaults to MethodChannelUrlLauncher
.
Implementation
static FlutterScreenRecordingPlatform get instance => _instance;
Platform-specific plugins should set this with their own platform-specific
class that extends UrlLauncherPlatform
when they register themselves.
Implementation
// TODO(amirh): Extract common platform interface logic.
// https://github.com/flutter/flutter/issues/43368
static set instance(FlutterScreenRecordingPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}