instance property
FresnelPlatform
get
instance
The registered implementation, or a no-op that reports no native glass.
Implementation
static FresnelPlatform get instance => _instance;
set
instance
(FresnelPlatform value)
Registers an implementation. Called from a plugin's registerWith;
apps never set this except in tests.
Implementation
static set instance(FresnelPlatform value) {
PlatformInterface.verifyToken(value, _token);
_instance = value;
}