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