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