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