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