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