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