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