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