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