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