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