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