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