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