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